0) { print "[Click Here To View The Last 20 Results]

"; } while (($result)&&($a_row=mysql_fetch_array($result))&&($essaycount<21)) { if (substr(stripslashes($a_row['WebURL']),0,7) != "http://") { $a_row['WebURL']="http://".$a_row['WebURL']; } if (substr(stripslashes($a_row['EssayURL']),0,7) != "http://") { $a_row['EssayURL']="http://".$a_row['EssayURL']; } print "Author: ".stripslashes($a_row['Author']) . "
\n"; print "Title: ".stripslashes(stripslashes($a_row['Title']))."
\n"; print "Description: ".stripslashes(stripslashes($a_row['Description']))."
\n"; print "Website: ".stripslashes(stripslashes($a_row['Webname']))."
\n"; print "[Report A Broken Link]
\n"; print "

\n"; $essaysflag=1; $essaycount++; } if (($result)&&(mysql_num_rows($result)==21)) { print "[Click Here To View The Next 20 Results]"; } mysql_close($link); if ($essaysflag==0) { print "There is currently no essays added.
\n"; } ?>