INSERT A ROW
am 07.03.2006 17:46:30 von ThorenHi,
Is there a way to obtain the ID generated when you insert a row in a table ?
Hi,
Is there a way to obtain the ID generated when you insert a row in a table ?
In article
Thoren
> Hi,
>
> Is there a way to obtain the ID generated when you insert a row in a table ?
Yep... Try
mysql_insert_id();
Al.
--
Alan Cole. E-mail: justal at lineone dot net
http://www.forces-of-nature.co.uk [Coastal Sports]
http://www.pixelwave.co.uk [Website Design, hosting and promotion]