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

> Thx - but
> $userid = ibase_gen_id ('GEN_USERS',1,$dbh);
> gives me
> Fatal error: Call to undefined function: ibase_gen_id() in

Johan - Thought you were still on PHP4?
$dbh is optional, you need it if you have several connections open and
so have to select the one to use. It's the output of ibase_connect.

Also I think the increment defaults to '1' so you only 'need' the
generator name.

Lester Caine
L.S.Caine Electronic Services