![]() |
MySQL Field Not Updating
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 |
All times are GMT. The time now is 04:59 PM. |
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:
|