Posted on Wednesday 16th May 2007 at 11:09 PM
Lets get right to it:
Heres my code:
** I have defined the variables
I was wondering what the heck did I do wrong!?
Thanks!
Code
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 'FROM members WHERE username = 'Diablosblizz'' at line 1
Heres my code:
PHP Code
$cgc = mysql_query("UPDATE money SET money = '$getcm' FROM members WHERE username = '$checkuser'") or die (mysql_error());
** I have defined the variables
I was wondering what the heck did I do wrong!?
Thanks!