On Thursday 10 October 2002 15:37, Pablo Oliva wrote:
> I have a mysql db with a particular table that I am inserting into.
> This table has an id column that auto-increments.  Is it possible to get
> the id of the row that I just inserted into, without re-querying???

rftm, mysql_insert_id().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Consider well the proportions of things.  It is better to be a young June-bug
than an old bird of paradise.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"
*/


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

Reply via email to