View Single Post
Old 12-04-2012, 08:44 AM   PM User | #2
Custard7A
Regular Coder

 
Custard7A's Avatar
 
Join Date: Jul 2010
Location: Australia
Posts: 269
Thanks: 32
Thanked 32 Times in 32 Posts
Custard7A is an unknown quantity at this point
You mean besides querying about a billion things?

Code:
$query = "SELECT topic_id FROM phpbb_topics WHERE forum_id = 27 OR forum_id = 12 OR forum_id = 40 OR forum_id = 11 OR forum_id = 12 OR forum_id = 40";
12 and 40 are repeated. Not likely your magic solution — or much at all, actually — but it seems weird.
Custard7A is offline   Reply With Quote