MYSQL Query Shuts down the server?
#1

format(string1,sizeof(string1),"SELECT * FROM `users` WHERE `username`='%s' AND `password`='%s'",NameOf(playerid),password);
(Using Stricken Kids)
Reply
#2

Perhaps try escaping the strings? (mysql_real_escape_string)
Reply
#3

Let me guess....your server crash when you call that function....If so than your mysql server is not running or you didnt connect to mysql server
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)