The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to update a field called "credits" in the user table when a forum member posts a new thread. The code below runs with no PHP or MySQL errors, but the "credits" field isn't updated ($cost isn't subtracted).
Can anyone offer guidance on what I'm doing wrong? Thanks! Rebecca PHP Code:
*EDITED* Never mind. I figured this out. I'd been formatting the userid incorrectly in the last (quesry) section. In case this is useful to anyone else, here is the corrected/working code: PHP Code:
![]() Rebecca |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|