help with mysql - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help with mysql (
/showthread.php?tid=414063)
help with mysql -
Stream - 07.02.2013
Yo.
hello everybody , i have a GM which is based on MYSQL and mysql runs perfect without any problems , but when i go ingame , is asks me password to login! and that account is not even created , and its a long time that it makes me confused , if anybody can help me , plz do it ASAP , cuz i rly need help with that GM ..
Regards.
Re: help with mysql -
Hanger - 07.02.2013
Take a look on how password is hashed and generate it via phpmyadmin or so when adding new entry.
Re: help with mysql -
zDevon - 07.02.2013
Use mysql_num_rows() and to check if the name exists and use that to determine if they should login or register. If that's what you're already doing, let us see some code.
Re: help with mysql - T0pAz - 07.02.2013
Quote:
Originally Posted by Stream
Yo.
hello everybody , i have a GM which is based on MYSQL and mysql runs perfect without any problems , but when i go ingame , is asks me password to login! and that account is not even created , and its a long time that it makes me confused , if anybody can help me , plz do it ASAP , cuz i rly need help with that GM ..
Regards.
|
And now we have to read your mind in order to find out what the problem is? Post the code you're having problem with in order for people to help you.