View Single Post
Old 05-01-2008, 06:07 PM   #4 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

See, I just ran a test on another function which does this;

PHP Code:
$q sprintf("SELECT password FROM " TBL_USERS " WHERE username='%s'"$szUsername);
$result $this->mysqli->query($q);

echo 
$result->num_rows;
die; 
...and $result is returned as an object like it's supposed to be.

OH DAMN.

Nevermind, I bow down to your genius. You're right, when it's an UPDATE, it returns to the mysqli object, there is no $result object. Geebus.
-m
delayedinsanity is offline  
Reply With Quote