The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Checking result of $db->query_write
What is the recommended way of checking the outcome of a "$db->query_write"?
I want to either update a record with a defined id number, or insert a record if the id number doesn't exist. I thought that I would be able to do an update transaction first, check if there is an error, and only then do an insert transaction if needed. All suggestions as to the best way to do this gratefully received. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|