|
Posted by Andy Hassall on 10/06/31 11:26
On Sat, 10 Sep 2005 15:13:22 +0100, Bonge Boo! <bingbong@spamcop.net> wrote:
>In the SQL Sub-query syntax thread I started, I came up with a query that
>does exactly what I need. It worked perfectly at the SQL interface.
>
>However I then discovered that mysql_query() can only take one SQL query at
>a time. Are there any other pre-defined functions that you can use to push
>multiple queries into the function?
If you could stuff multiple queries into one call, how could you tell which
one failed if there was an error? Issue one call per query. Why do you want to
only use one call?
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|