Posts: 228
Threads: 27
Joined: Nov 2008
Reputation:
0
format(string1,sizeof(string1),"SELECT * FROM `users` WHERE `username`='%s' AND `password`='%s'",NameOf(playerid),password);
(Using Stricken Kids)
Posts: 797
Threads: 21
Joined: Jan 2007
Reputation:
0
Perhaps try escaping the strings? (mysql_real_escape_string)
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
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