Jump to content

php update MYSQL problem


matt121400

Recommended Posts

so i have a php page update that adds 1 to the tally like this

 

mysql_query("update table set entry1 = entry1 + '1' where user = '$user'");

 

The problem is it is being used SO quickly so often that it seems it is missing alot of updates.  What would be a better way of doing this that guarantees each update is counted?

Link to comment
https://forums.phpfreaks.com/topic/182257-php-update-mysql-problem/
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.