Posted by Alan Cole on 03/07/06 19:13
In article <dukdpp$1jj$1@aphrodite.grec.isp.9tel.net>,
Thoren <thoren@caramail.com> wrote:
> 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]
Navigation:
[Reply to this message]
|