View Single Post
Old 03-11-2009, 03:53 PM   #2 (permalink)
tony
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

you mean to check if the query was a success?
it's the same except for the exclamation point.

PHP Code:
if($result){
    
//do something with the result

oh and P.D. if is a language construct not a loop :P
tony is offline  
Reply With Quote
The Following User Says Thank You to tony For This Useful Post:
nefus (03-11-2009)