The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Retrieve info from last deleted record?
For example, I run this query in my vB integrated script:
$DB_site->query("DELETE FROM tablename WHERE field1=X"); There is only ever 1 matching field for this query because field1 is autoincremented. Now I want to know what the value in a different field, field2, was for the record I just deleted. Does vB's DB_Sql_vb class record that information? Or is there a way I can capture that information during the query? Or am I going to have to query the field before deleting the record? |
#2
|
||||
|
||||
I don't think you can do this without running an extra query beforehand.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|