Reply to Re: Using transactions in MySQL + PHP

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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