> There is a similar one for postgresql as well: pg_last_oid() . I tried that. It gives me 24807, instead of 5. Or is oid is a reference to something else, which would lead me to the '5' i'm looking for? -- snip snip -- if($result = pg_exec($db, $sql)) { $query = "success"; echo "oid : " .pg_last_oid($result); } -- snip snip -- Sincerely, Faisal ______________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] Auto-increment value Faisal Abdullah
- Re: [PHP] Auto-increment value Scott Houseman
- Re: [PHP] Auto-increment value Erwin
- Re: [PHP] Auto-increment value Marek Kilimajer
- RE: [PHP] Auto-increment value Faisal Abdullah
- RE: [PHP] Auto-increment value Faisal Abdullah
- Re: [PHP] Auto-increment value Marek Kilimajer
- RE: [PHP] Auto-increment valu... Faisal Abdullah
- Re: [PHP] Auto-increment ... Leonid Mamtchenkov
- Re: [PHP] Auto-increment ... Faisal Abdullah
- Re: [PHP] Auto-increment ... Leonid Mamtchenkov
- RE: [PHP] Auto-increment ... Faisal Abdullah
- Re: [PHP] Auto-increment value Justin French
- RE: [PHP] Auto-increment value bob parker
- Re: [PHP] Auto-increment value Marek Kilimajer
- RE: [PHP] Auto-increment value Jon Haworth
- Re: [PHP] Auto-increment value Justin French
- RE: [PHP] Auto-increment value bob parker
- Re: [PHP] Auto-increment value bob parker