01-17-2009, 01:42 AM
|
#49 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
I just noticed that your userclass uses mysql_result. I haven't used it in my class, actually, I've never used it. But I could implement it in the getQueryResult.
My idea would basicly means that you would do like this:
PHP Code:
$dbobj->exeQuery($sql);
$this->username = $dbobj->getQueryResult(0, "username"); $this->password = $dbobj->getQueryResult(0, "user_pass"); $this->rank = $dbobj->getQueryResult(0, "rank");
Want me to implement it?
__________________
|
|
|
|