mysql_insert_id() & CGI
| From: | bill | Date: | Tue, 03 Apr 2001 14:42:29 +0000 |
| Subject: | mysql_insert_id() & CGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46817@lists.php.net to get a copy of this message | ||
When I go from using mysql_insert_id() with the module to using it with
PHP as CGI it fails because I always provide a link identifier as the
argument.
When I remove the link identifier it works again.
But that seems risky to me. If I have concurrent users couldn't one
user finish a query, another user do another query, and then the first
user's mysql_insert_id function produce the wrong result?
kind regards,
bill hollett