Quote:
Originally Posted by Boofo
I'm curious, how did you test it if you don't have the hack installed? The reason I'm asking is that it might help me in the future if I run into something like this again. 
|
I just added that line of code to a php file of vb3 and its a common query that just selects user columns based upon a particular criteria, at first it required an array to implode so I made one quick, but other then that the query caused no php errors so therefore it couldn't have been that line. php is php works the same in the same conditions, therefore if it doesn't error for me it shouldn't error for you
Don't know if I made much sense, but hope that explained it somewhat.
For isntance if you placed:
PHP Code:
$userstuff = $DB_site->query ( "
SELECT u.username, u.userid,
p.postid
FROM " . TABLE_PREFIX . "user u
LEFT JOIN " . TABLE_PREFIX . "post p USING (userid)
WHERE postid IN ( 1,2,3,4,5,6,7,8,9,10 )
" ) ;
In one of your scripts it could be said that it works or doesn't work based upon the kind of error you get, besides I do believe that php errors are returned before mysql ones, so even if you got mysql errors you could say the php is fine.
Cheers,
g-force2k2