Re: MySql, Internet application and PHP
Marc Mendez wrote:
> I was told it's not easy to lock records and use transactions with an
> Internet Application (using just PHP language).
> I'm sure I'm not alone with this problem. As we don't want to use an other
> language, such as Java or Delphi, which solutions do you see ?
>
> Thanks for your idea !
I have never worked with transactions and such things but I hate
rewriting code and therefore rely most of the times on the PEAR MDB2
class for my database connections and queries, as I dislike rewriting
(badly written and designed) code.
AFAIK they also support commit (for mysql database engines). More
general information can be found here [1] and some specific information
on transactions [2].
Good luck!
Jonathan
[1] <http://pear.php.net/manual/en/package.database.mdb2.php>
[2]
<http://pear.php.net/manual/en/package.database.mdb2.intro-transaction.php>
|