topical media & game development
basic-php-13-search.php / php
<?php
require_once 'conn.php';
require_once 'outputfunctions.php';
require_once 'header.php';
_GET['keywords'])) {
_GET['keywords'] . "' IN BOOLEAN MODE) " .
"ORDER BY MATCH (title,body) " .
"AGAINST ('" . result = mysql_query(conn)
or die('Could not perform search; ' . mysql_error());
}
echo "<h1>Search Results</h1>\n";
if (result)) {
echo "<p>No articles found that match the search terms.</p>\n";
} else {
while (result)) {
outputStory(
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.