Subject Re: [firebird-php] auto increment last insert
Author Lester Caine
Johan van Zyl wrote:

> Thx!
> What is $conn ?
>
> $ret = $conn->Execute( 'SELECT GEN_ID( G_USERS, 1 ) FROM RDB$DATABASE');

ADOdb ;) I just cut and pasted without thinking :)

$ret = ibase_query( 'SELECT GEN_ID( G_USERS, 1 ) FROM RDB$DATABASE');

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services