Code:
$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?
Admin
· 1 min read
No answers posted yet. Be the first to answer.
PHP Forum
PHP Forum
PHP Forum
PHP Forum
PHP Forum
Trending today: see what people are reading
PHP Forum
Hi, I want to implement the following in my web page in sign up we will ask to enter user existing…
PHP Forum
Im looking at trying to replace all single spacing between fields with double spacing At present my…
PHP Forum
Hi, I have been stuck on this for ages. Quite simply I am trying to update my database with an…
PHP Forum
I have a large number of images in one section of my website with the .jpg format. I'm adding a…
PHP Forum
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing…
PHP Forum
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array…