View Single Post
  #7 (permalink)  
Old 06-17-2003, 01:30 AM
jwalsh8888 jwalsh8888 is offline
Junior Member
 
Join Date: Jun 2003
Posts: 8
nevermind I suck... If I knew anything about programming for databases this would have been easier for me. All I did was change the code:
Code:
$result1 = sql_query("SELECT topic_id, topic_last_post_id, topic_title FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC LIMIT 10", $dbi);
to
Code:
$result1 = sql_query("SELECT topic_id, topic_last_post_id, topic_title FROM ".$prefix."_bbtopics where forum_id=1 ORDER BY topic_last_post_id DESC LIMIT 10", $dbi);
obviously forum_id=(whatever forum you want displayed)
Reply With Quote