Site Doc Summery

Click Here TO View More
\n"; $db = mysql_pconnect("127.0.0.1", "root", "" ); if (!$db) { echo "Error: Could not connect to the Database. Please try again later."; die; } if (!mysql_select_db("$database")) { echo "no connection"; die; } mysql_select_db("$database"); // $query = "SELECT * "; $query = "SELECT xar_title, xar_summary from xar_articles where xar_aid > 0 "; $result = mysql_query($query); $num_results = mysql_num_rows($result); echo "

Found ".$num_results." Hits

"; echo "\n"; echo ""; for ($i=0; $i<$num_results; $i++) { $row = mysql_fetch_array($result); $line[0] = htmlspecialchars( stripslashes($row["xar_title"])); $line[1] = htmlspecialchars( stripslashes($row["xar_summary"])); echo ""; } echo "
Title Summery
$line[0] $line[1]
"; if ($num_results == 0) { echo "

No Item Found in Database

"; echo "

Make sure search type is correct.

"; echo "

Try dropping a few letters or numbers for a fuzzy search.

"; echo "

Send Me info to add to the Database.

"; echo "Previous Page
\n"; Echo "Add this part to the database
\n"; } ?>