I've done many of these and I've included some generic code below from a news article system I'm currently building:
<?php
// Database connection code goes here
$result = @("SELECT ident, headline from <table_name> where headline LIKE '% $search %'");
While($row = @mysql_fetch_array($result)) {
echo "<a href='details.php?ident=$ident'>$row[headline]</a><br>\n";
}
?>
This will produce a list of matching articles that have the word passed in the $search variable. (I assume your search page has an input tag named "search") On the "details.php" page, you just pull the information for the article matching the "ident" passed to it from the link.
Hope this helps...
John Cornett