Re: Auto-increment value
| From: | Scott Houseman | Date: | Wed, 18 Sep 2002 09:24:42 +0000 |
| Subject: | Re: Auto-increment value | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116701@lists.php.net to get a copy of this message | ||
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 // //--------------------------------------------//