View Full Version : Auto Incrementing
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.
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.