Subject | Re: **SPAM** Re: [firebird-php] auto increment last insert |
---|---|
Author | Lester Caine |
Post date | 2004-11-24T11:32:18Z |
Johan van Zyl wrote:
$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.
http://lu2.php.net/manual/en/function.ibase-connect.php
Also I think the increment defaults to '1' so you only 'need' the
generator name.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> Thx - butJohan - Thought you were still on PHP4?
> $userid = ibase_gen_id ('GEN_USERS',1,$dbh);
> gives me
> Fatal error: Call to undefined function: ibase_gen_id() in
$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.
http://lu2.php.net/manual/en/function.ibase-connect.php
Also I think the increment defaults to '1' so you only 'need' the
generator name.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services