return most current insert row id

From: Date: Thu, 16 Nov 2000 01:45:23 +0000
Subject: return most current insert row id
Groups: php.general 
Request: Send a blank email to php-general+get-25578@lists.php.net to get a copy of this message
How can I return the a row id that was inserted in the same page/function? I have a page where I display what was added to the cart. When I display the information that was just inserted I would like to be able to make that same page a recalculation page. That way the end user can immediately make changes to the displayed info, ie. quantity. To recalculate I need the item_id of the row I just inserted. I just saw this in the mailing list but can't find anything in the archives and I haven't had luck searching the manual. Thanks, Tom >>.>>.>>>.>>>>>.>>>>>>>>> Tom Beidler Orbit Tech Services 805.455.7119 (cell) 805.682.8972 (phone) 805.682.5833 (fax) tbeidler@mindspring.com >>.>>.>>>.>>>>>.>>>>>>>>>

« previous php.general (#25578) next »