The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Edit:
Found it already ![]() PHP Code:
|
|
#2
|
||||
|
||||
|
$DB_site->insert_id() with vB's class.
|
|
#3
|
||||
|
||||
|
Thanks :up:
Is there a big difference between: mysql_insert_id() and LAST_INSERT_ID()? |
|
#4
|
||||
|
||||
|
A bit. Use LAST_INSERT_ID() in PHP and you will get shout at by the headmaster.
![]() LAST_INSERT_ID() is a MySQL function, to be used within queries. mysql_insert_id() is a PHP function, to be used inside scripts. But basically they both return the same thing.
|
|
#5
|
||||
|
||||
|
hehe aight, i will gonna use mysql_insert_id() since its a php function
![]()
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|