Re: Controle de transação no PHP 4.3

From: Date: Tue, 15 Jun 2004 18:11:49 +0000
Subject: Re: Controle de transação no PHP 4.3
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-49406@lists.php.net to get a copy of this message
Hi mvalmeidas, you need the database tables been like InnoDB Types, I´m afraid in MySQL 3.23 not support transactions, but I´m not sure. In Mysql 4.x this way make a relation for example: CREATE TABLE cliente ( id_cliente INT NOT NULL, nombre VARCHAR(30), PRIMARY KEY (id_cliente) ) TYPE = INNODB; CREATE TABLE venta ( id_factura INT NOT NULL, id_cliente INT NOT NULL, cantidad INT, PRIMARY KEY(id_factura), INDEX (id_cliente), FOREIGN KEY (id_cliente) REFERENCES cliente(id_cliente) ) TYPE = INNODB; best regards Ricardo ----- Original Message ----- From: "mvalmeidas" <mvalmeidas@bol.com.br> To: "php-es" <php-es@lists.php.net> Sent: Tuesday, June 15, 2004 7:32 PM Subject: [PHP-ES] Controle de transação no PHP 4.3 Pessoal, Como ter controle de transação usando o PHP 4.3 e o MySQL 3.23. obrigado pela ajuda. Almeidas -------------------------- Hi How can I haver transact control using PHP 4.3 and MySQL 3.23. Thanks Almeidas __________________________________________________________________________ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis! http://antipopup.uol.com.br/ -- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general.es (#49406) next »