Speficy more than one WHERE
Posted: Fri Nov 17, 2006 6:12 pm
well i have a mysql query
i want to know if/how i can select stuff from say forum_id='22' and forum_id='23'
Code: Select all
$result1 = sql_query("SELECT topic_id, topic_last_post_id, topic_title FROM forum_topics WHERE forum_id='22' LIMIT $amount", $dbi);