I just ported everything to MySQLi, and everything else works just fine, but for some reason I'm getting wierdness on this query;
$q = sprintf("UPDATE " . TBL_USERS . " SET password='%s' WHERE username='%s'", $szPassword, $szUsername);
$result = $this->mysqli->query($q);
The die is in there to debug it... I'm getting this error;
Notice: Trying to get property of non-object in...
$result should be an object. It is in every other mysqli->query I do. Why isn't it here? The query works, it does what it's supposed to do, it just doesn't return $result like it's supposed to. I'm lost.