RE: [PHP] Re: Send multiple SQL staments in one query
| From: | Miguel López Dinaweb Dpto. Programación | Date: | Mon, 25 Nov 2002 15:39:46 +0000 |
| Subject: | RE: [PHP] Re: Send multiple SQL staments in one query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125946@lists.php.net to get a copy of this message | ||
Hi,
The problem is that i need to do only one mysql_query, i'm working whith
a remote database and i have .5 seconds in response time, to one - four
querys is less than two seconds Ok is fast but is i do 10 querys i need
5 seconds very slow.
:-)
________________________________________________________
Miguel López Sánchez
Programador
Voz +34 902 014 945 E-mail: mlopez@dinaweb.com
--------------------------------------------------------
Dinaweb Networks s.l.
Rúa das Orfas 27
15703 Santiago de Compostela A Coruña Gz Sp ECC
Voz +34 902 014 945 GMT+1
E-mail: info@dinaweb.com
--------------------------------------------------------
http://www.dinaweb.com http://www.dinahosting.com
http://www.u-lo.com
http://www.empregogalego.com
________________________________________________________
-----Mensaje original-----
De: @ Edwin [mailto:copperwalls@hotmail.com]
Enviado el: lunes, 25 de noviembre de 2002 16:25
Para: Seth Remington; Miguel lópez dinaweb dpto. programación
CC: php-general@lists.php.net
Asunto: Re: [PHP] Re: Send multiple SQL staments in one query
Hello,
"Seth Remington" <sremington@saberlogic.com> wrote:
[snip]
> Here's a function that I use to run multiple SQL statements at once -
[/snip]
...perhaps, a better way to put it is "run multiple SQL statements" _one
after another_ :)
It's a good approach though. ;)
- E