seany123 Posted November 9, 2009 Share Posted November 9, 2009 okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title... $query = $db->execute("select * from items where `player_id`=?, `item_id`=?", array($player->id, 1)); $item = $query->fetchrow(); //if 1 or more rows are found then update Quantity. if ($query->recordcount() >= 1){ any ideas? Link to comment https://forums.phpfreaks.com/topic/180842-solved-fatal-error-call-to-a-member-function-fetchrow-on-a-non-object-in-cxamppht/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.