MySQL Syntax Error
#1

Hello guys! Look at my code:

 

{
  "UPDATE bg_user SET user_id=",
  this.textBox36.Text,
  ", passwd=",
  this.textBox37.Text,
  ", cash=",
  this.textBox45.Text,
  ", email=",
  this.textBox42.Text,
  " WHERE user_code=",
   this.textBox43.Text,
 }
 

It says me 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 , passwd=*******, cash=0, email=***@***.com WHERE user_co at line 1

 

Any idea how to fix it?

Thanks in advanced.



Messages In This Thread
[No subject] - by Paramount - 08-03-2013, 06:55 PM
[No subject] - by ReturnKratos - 08-03-2013, 07:56 PM
[No subject] - by someone - 08-03-2013, 08:07 PM
[No subject] - by Paramount - 08-03-2013, 10:40 PM
[No subject] - by Wizatek - 08-04-2013, 04:09 PM
[No subject] - by ReturnKratos - 08-04-2013, 05:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)