trying out some search stuff...

This commit is contained in:
Dan Olson 2000-06-18 20:40:55 +00:00
parent 6f7442a010
commit 81b0ff25f6

View file

@ -13,6 +13,7 @@
$parseMe = dbmfetch($dbm, $string);
}
dbmclose($dbm);
if ($parseMe) {
$filenames = preg_split("/&&/", $parseMe);
for ($i = 0;$i < sizeof($filenames);$i++) {
$temp = $filenames[$i];
@ -25,6 +26,9 @@
while (list($key,$val) = each ($files)) {
echo "<P><A HREF=\"$key\">$key</A> - $val hits";
}
} else {
echo "<P>Sorry, no pages found containing $string";
}
require("parts/postamble.php"); // Finish this sucker up
else {
// Preamble