note 24335 deleted from function.mysql-insert-id by maxim
| From: | maxim@php.net | Date: | Tue, 13 Aug 2002 16:33:41 +0000 |
| Subject: | note 24335 deleted from function.mysql-insert-id by maxim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34941@lists.php.net to get a copy of this message | ||
Be safe: Run a "SELECT MAX(id) FROM yourtable" and save the results into a variable. The
mysql_insert_id() function is really not safe.