![]() |
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? |
I don't think you can do this without running an extra query beforehand.
|
All times are GMT. The time now is 08:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|