Re: Error to insert in firebird

From: Date: Tue, 05 Nov 2013 17:45:40 +0000
Subject: Re: Error to insert in firebird
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-322428@lists.php.net to get a copy of this message
Do you commit your transaction? On Tue, Nov 5, 2013 at 6:21 PM, Ismael L. Donis Garcia < ismael@citricos.co.cu> wrote: > I am trying to execute the following consultation but he does not execute > me well. Which will be able to be the problem? > > $sql = "insert into scele (codigo, nombre) values (?, ?)"; > $param = "1, Test1"; > > $tr = ibase_trans(IBASE_WRITE,$this->cn); > $qr = ibase_prepare($tr,$param); > $this->rs = ibase_execute($sql,$param); > if ($this->rs){ > //Evaluate this condition, but he does not enter here > } > > Best Regards > ======== > | ISMAEL | > ======== >

« previous php.general (#322428) next »