Jump to content

[SOLVED] MySQL Query Syntax error.


MasterACE14

Recommended Posts

I believe I've missed out a comma or haven't put a variable into the query correctly.

 

Heres the error I am getting:

Parse error: syntax error, unexpected T_STRING in /home/ace/public_html/shadowlords/functiondebug.php on line 58

 

Heres the query(line 58):

mysql_query("UPDATE `sl_users` SET bank=`$bank` WHERE id='".$userrow["id"]."'");

 

Regards ACE

Link to comment
https://forums.phpfreaks.com/topic/58833-solved-mysql-query-syntax-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.