[PHP] Send multiple SQL staments in one query

2002-11-25 Thread Miguel López Dinaweb Dpto. Programación
Hi, I can't send multiple sql staments in one query, i always get an error saying that the sentece is incorrect, i thorw the sentece in a mysql console and works fine, i'm sepraing sentences with ; i try to separe using ;\n or ;\r\n but don't work Anyone can help me? :-)

Re: [PHP] Send multiple SQL staments in one query

2002-11-25 Thread 1LT John W. Holmes
-- I can't send multiple sql staments in one query, i always get an error saying that the sentece is incorrect, i thorw the sentece in a mysql console and works fine, i'm sepraing sentences with ; i try to separe using ;\n or

Re: [PHP] Send multiple SQL staments in one query

2002-11-25 Thread @ Edwin
Hello, 1LT John W. Holmes [EMAIL PROTECTED] wrote: [snip] No, can't do it. Only one query per mysql_query() call. Not sure with other database interfaces, but it should be the same. [/snip] Yes, you cannot do it in MySQL. But you can do it with others. (I think it was discussed before--about