Re: Error to insert in firebird

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do you commit your transaction?


On Tue, Nov 5, 2013 at 6:21 PM, Ismael L. Donis Garcia <
ismael@xxxxxxxxxxxxxx> 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 |
> ========
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux