PDA

View Full Version : Auto Incrementing


Nomb
03-30-2003, 01:06 AM
Nevermind, just found my answer.

lmao :D

filburt1
03-30-2003, 01:07 AM
Use mysql_insert_id() to get the new value used to fill an auto_increment column.

Nomb
03-30-2003, 03:59 AM
Today at 08:07 PM filburt1 said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=375306#post375306)
Use mysql_insert_id() to get the new value used to fill an auto_increment column.

hehe, that's what I found at php.net

Thanks for the reply. :)

g-force2k2
03-31-2003, 02:39 PM
for vb i just use the vb sytnax

ie:
$id = $DB_site->insert_id( );

regards,
g-force2k2