Can somebody please tell me why this code is not working;
$result1 = $db ->sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics WHERE forum_id <>'5' OR forum_id <>'6' ORDER BY topic_last_post_id DESC" );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = $db ->sql_fetchrow( $result1 ) )
I want to exclude forums 5 and 6 from the result,
any ideas?
Thanks.