> Hmmm,.... is mysql's last_insert_id behaviour really that much to ask> for?
Come to think of it,.... maybe the attached last_insert_id() patch is abetter option. Actually copying the behaviour of mysql's counterpart.
... John