The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MySQL Question
Ok I need to run a query on my USER table, what I am looking to do is if a user has a 1 in the donator field I need their donate field updated to by 1. Any ideas how I can do this. I know it should be easy.
|
#2
|
||||
|
||||
Quote:
UPDATE table_name SET table_field=(1 + table_fieldname) WHERE table_filed=1; table_name is the name of the dB. table_field is the name of the field you are updating. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|