Re: Batch/Prepared statements for Mysql in PHP
| From: | Curt Zirzow | Date: | Sun, 02 May 2004 06:34:54 +0000 |
| Subject: | Re: Batch/Prepared statements for Mysql in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185129@lists.php.net to get a copy of this message | ||
* Thus wrote electroteque (daniel@electroteque.org):
> 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 ?
It sounds like you need procedural sql statements. you need to ask
someone on the mysql list or use a database that already supports
that.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."