note 28886 rejected from function.mysql-insert-id by nicos
| From: | nicos@php.net | Date: | Mon, 27 Jan 2003 09:28:33 +0000 |
| Subject: | note 28886 rejected from function.mysql-insert-id by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42799@lists.php.net to get a copy of this message | ||
If one elects to use LAST_INSERT_ID() via mysql as opposed to using mysql_insert_id() that might
require you to send two inserts at once. I tried this via mysql_query() and I am getting an SQL
syntax error. However, when I try the query directly through mysql it works. Does mysql_query()
support multiple statements?