Re: [PHP] Batch/Prepared statements for Mysql in PHP

2004-05-02 Thread Curt Zirzow
* Thus wrote electroteque ([EMAIL PROTECTED]): 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 ?

[PHP] Batch/Prepared statements for Mysql in PHP

2004-05-01 Thread electroteque
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