Latest Edition News Sitemap Articles Issues Graphics Forum Contacts Events Frames
History Submissions Subscriptions Editors Admin No Frames
greenpepper News
>
Error creating comment " . mysql_error() . "

");} //echo $sql; // run SQL against the DB create message text $result = mysql_query($sql); $conf ="Added $title"; } } // List if Kid is Nowt Start with the MAIN SQL //echo $kid; if (!$kid) { $result = mysql_query(" SELECT comments.title, comments.link, comments.id cid, comments.infotex, comments.comdate, comments.contact_id FROM comments WHERE comments.contact_id = 3 AND (comments.infotex LIKE '%$search_str%' OR comments.title LIKE '%$search_str%' ) ORDER BY comments.comdate DESC ",$db); echo ""; echo ""; echo ""; echo ""; echo ""; while ( $row = mysql_fetch_array($result) ) { //REPEAT FOR EACH RECORD //assign variables $id = $row["cid"]; $title = $row["title"]; $cdate = $row["comdate"]; $link = $row["link"]; $infotex = $row["infotex"]; //PRINT EACH RECORD echo ("" . "" . "" . "" . "" . "" . "" . "" . "" . "" . "" . "" . "" . ""); } //END OF LOOP FOR EACH RECORD echo("
$title$cdate
$infotex
"); if ($link) { echo ("Read More");} echo ("
_____________________________
"); } ?>
Latest Edition News Sitemap Articles Issues Graphics Forum Contacts Events Frames
History Submissions Subscriptions Editors Admin No Frames
This is a website from Travatools. Designing I.T. for Action