Retreiving data from a table

From: Date: Fri, 01 Mar 2002 23:51:02 +0000
Subject: Retreiving data from a table
Groups: php.db 
Request: Send a blank email to php-db+get-17401@lists.php.net to get a copy of this message
Hi, I got the following insert statement in my PHP code: $qid = db_query(" INSERT INTO table1 ( Name ) VALUES ( '$frm[Name]' )"); This is working like I want it to. But in the table there is a column, which is AUTO_INCREMENT. I would like to retreive this number right after I added the data. Can anybody help me? Thanks, Morten

« previous php.db (#17401) next »