Quote:
Originally Posted by Amiga-uk
Hi, i tried this and got:
Code:
Database error in vBulletin 3.0.0 Release Candidate 2:
Invalid SQL: UPDATE userfield SET 5=5-1 WHERE userid='98'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '5=5-1 WHERE userid='98'' at line 1
mysql error number: 1064
Date: Saturday 10th of January 2004 10:56:15 PM
Script: http://forum.inspiregfx.co.uk/warn.p...t=Substract+-1
Referer: http://forum.inspiregfx.co.uk/warn.p...kupo&warnings=
Username: Amiga
IP Address: **.***.**.**
What've i done wrong?
EDIT: Whoops, i got this when trying to add/subtract/reset warnings. Everything else works perfectly.
|
You haven't got the custom profile field id correct there. It should be field10 or something like that.