Quote:
Originally Posted by KirbyDE
I am not sure if order does matter. But if mySQL is smart (I expect it is) it should optimize the query itself to perform bolean shortcut tests as fast as possible.
|
Quote:
Right now i am excluding threadids inside the while() using "in_array" (or not).
|
Array Operations are costly ...
Maybe (not sure!) better
PHP Code:
if (strpos(',1,2,3,4,5,6,7,8,9,10,', ",$threadid,") !== false)
{
// got some valid data
}