I don't think MySql does not have support for transactions.  Try using
another DB - like postgres.

Fredrik


On Wed, 9 May 2001, Hassan Arteaga wrote:

> Hi all !!!
>
> I'd like to implement this pseudocode
>
> 1-open connection with MySQL
> 2-beintransaction
> 3-add data to table1
> 4-add data to table2
> 5-commit transacction   or die (rollbacktransacciont)
>
> How I implements transaccions in MySQL
>
>
> Thanks all !!!
>
> --
> M. Sc. Hassan Arteaga Rodríguez
> Microsoft Certified System Engineer
> Network Admin, WEB Programmer
> FUNDYCS, Ltd
> [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

F


--
Fredrik Rødland           ASTON Technology      Phone: +47 23 28 40 17
Technical Architect       Stocknet              Fax  : +47 910 73 621
[EMAIL PROTECTED]  http://www.aston.no   Mob  : +47 992 19 817


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to