|
Posted by Rik on 08/01/07 12:59
On Wed, 01 Aug 2007 14:52:13 +0200, João Morais <jcsmorais@gmail.com>
wrote:
>> So query failed, my doubt is why?
>
> After reading PHP manual, I know now that multiple queries are not
> suported..
>
>> Also If I separate $query in four queries, and run them separately,
>> the script will run too.
>
> Is this correct?
Yes.
> The only way?
Nope, but the most usefull one.
> How should it be done
Seperate queries, check the return, commit or rollback depending on the
result.
--
Rik Wasmus
[Back to original message]
|