I'm trying to make a game website for my own self study and the only problem I got now is that when I try to run the code the only problem i get is with this part,
socket.on('showmssages',function(data)
{
connection.query('UPDATE `users` SET `admin`="1" WHERE `steamid`="'+data+'"', function(err, rows, fields)
});
The end part }); where } exist it says SyntaxError: Unexpected token.
What am I doing wrong? Got any Idea?
via SpwaN
No comments:
Post a Comment