note 3993 deleted from mysql_query by danbeck

From: Date: Thu, 07 Sep 2000 17:18:16 +0000
Subject: note 3993 deleted from mysql_query by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4423@lists.php.net to get a copy of this message
if you want to incremenet something on the sql server, you should let the sql server do the work a query like "update statistic set clicks=clicks +1 where user='$user'" will do what you're doing in your code, and eliminate some race conditions.

« previous php.notes (#4423) next »