05-01-2008, 06:07 PM
|
#4 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
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
|
|
|
|