Hi there.

You can use the function mysql_insert_id( [link id] ).

regards

Scott

Faisal Abdullah wrote:
> Hi people,
> 
> I have a table with a column called ID (auto-increment).
> Is it possible to know the value of ID, right after inserting 
> a row? 
> 
> I'm using postgresql.
> 
> Thanks.
> 
> Sincerely,
> Faisal
> 
> ______________________________________
> 
> 


-- 
//--------------------------------------------//
// Scott Houseman                             //
// Jam Warehouse http://www.jamwarehouse.com/ //
// Smart Business Innovation                  //
// +27 21 4477440 / +27 82 4918021            //
//--------------------------------------------//


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to