Jump to content

Is there something wrong with my query?


Monkuar

Recommended Posts

"UPDATE ibf_members SET friendcount=friendcount -1 WHERE id = '" . $this->member['id'] . "'"

 

Sometimes it works and sometimes it doesn't Can somone give me the same qeury but different so it add's +1 to the variable friendcount each time it is runned,

 

thanks!

Link to comment
https://forums.phpfreaks.com/topic/147522-is-there-something-wrong-with-my-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.