You are here: Re: Mysql_query() only allows one SQL query at a time. Other options? « PHP SQL « IT news, forums, messages
Re: Mysql_query() only allows one SQL query at a time. Other options?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация