AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   last inserted row mysql (https://forums.alliedmods.net/showthread.php?t=126705)

sparkey 05-12-2010 13:18

last inserted row mysql
 
Hi there,

Is it there any function that makes it possible to get the unique id from the last inserted row in mysql?

A function like the one in php called mysql_insert_id()

Thanks

sparkey 05-12-2010 13:50

Re: last inserted row mysql
 
built in function in mysql LAST_INSERT_ID() worked like a charm :)


All times are GMT -4. The time now is 03:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.