MySQL Player Password.
#1

nevermind
Reply
#2

Your INSERT query is showing "%d" rather than "%s"(for your password).

Also, if you don't know how to use MySQL, I suggest not using it. You're scripting in two different languages using it for SA:MP(MySQL itself and PAWN langauge).
Reply
#3

Quote:
Originally Posted by BleverCastard
Посмотреть сообщение
Your INSERT query is showing "%d" rather than "%s"(for your password).

Also, if you don't know how to use MySQL, I suggest not using it. You're scripting in two different languages using it for SA:MP(MySQL itself and PAWN langauge).
With "%s", my account is not even getting saved in the database.
Reply
#4

Quote:
Originally Posted by TheSnaKe
Посмотреть сообщение
With "%s", my account is not even getting saved in the database.
Probably because it's declared as an integer, where it should be a VARCHAR or a string in the database. As a earlier post stated, MySQL is another scripting language in itself and isn't plug-and-play. There is even a college degree for SQL, so don't think it'll be easy to use. Just a heads up, although changing it to a VARCHAR in the database should do the trick(and just an FYI - you should enable the MySQL debugging mode for things like that / check mysql_errors.log).
Reply
#5

deleted
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)