add_search.php
changeset 19 a1ed9d6856d6
parent 9 e506cab7f83a
child 26 e8da4f096fde
--- a/add_search.php	Wed Jun 02 20:06:38 2010 +0100
+++ b/add_search.php	Mon Jun 14 16:37:05 2010 +0100
@@ -102,7 +102,7 @@
 		}
 		  
 		fclose($sk);
-	 header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . 'details.php');	
+	 header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php');	
 		//header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php?alert=add');
 	} 
 ?>
@@ -122,7 +122,7 @@
 	
 	if ($search_term == "") 
 	{
-		print "<p>You did not enter a valid search term. Click the link to return to the <a href='details.php'>search page</a>.</p>";
+		print "<p>You did not enter a valid search term. Click the link to return to the <a href='/details.php'>search page</a>.</p>";
 	}
 	
 	print ("<p>MSG = " . $message . "</p>");