Quote:
Originally Posted by kobescoresagain
I know sql but I am having issues figuring out how vbulletin does it.
PHP Code:
$monthlytraderinfo = $db->query_first(" SELECT dateline FROM " . TABLE_PREFIX . "itrader AS itrader WHERE rateduserid = $userinfo[userid] ");
That is what I did. This gives me the first one. But it doesn't give me them all. I am sure that I shouldn't change query_first to something. Not sure what. I changed it to query_read and I got an error. Please help me.
|
Query first only returns one row when used, what was the error you received when using query_read?