getting ID

From: Date: Sun, 19 Aug 2001 17:19:32 +0000
Subject: getting ID
Groups: php.db 
Request: Send a blank email to php-db+get-11524@lists.php.net to get a copy of this message
I have a script where I submit user data to the database in my script I need to get the id # how can I do this w/o creating a query that does the following considering that user could have 10 other entires. // Request info $result = mysql_query( "SELECT * FROM supportsys WHERE email = $email"); if (!$result) { echo("<P>Error performing query: " . mysql_error() . "</P>"); exit(); } I basicly need to get the id$ of the record just entered -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community!

« previous php.db (#11524) next »