MYSQL Help
#1

PHP код:
[Fri Aug 10 17:49:56 2018Error (0): Could not execute queryYou have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'playerDonuts=0, WHERE playerName='Ahmadd'' at line 1. 
Reply
#2

post the line where is this 'playerDonuts=0, WHERE playerName='
Reply
#3

You have an incorrectly placed upper comma. Exactly after `%s` or `%i` where is the Player name you have got 2 closing commas!
Reply
#4

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
You have an incorrectly placed upper comma. Exactly after `%s` or `%i` where is the Player name you have got 2 closing commas!
Those are apostrophes and the last one is from mysql logs. It takes a part of query and it places it inside apostrophes.
The problem is the comma , before WHERE clause.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)