"; $sql = "SELECT * FROM ".$prefix."_stories WHERE catid='3' ORDER BY sid DESC LIMIT 0,5"; $result = $db->sql_query($sql); while ( $row = $db->sql_fetchrow($result) ) { $sid = $row['sid']; $title = $row['title'] echo "  $title
} echo ""; CloseTable(); include("footer.php"); ?>