Batch/Prepared statements for Mysql in PHP
| From: | electroteque | Date: | Sat, 01 May 2004 06:42:13 +0000 |
| Subject: | Batch/Prepared statements for Mysql in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185086@lists.php.net to get a copy of this message | ||
I was wondering if there is any current API for creating match/prepare
statements, therefore say i have a script to insert, update and insert in
the same post, is there a way to reduce to many queries to the database to
do it all in one hit ? Although i usually return the last inc id then add it
to the second query ?