mysql not loading/saving. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: mysql not loading/saving. (
/showthread.php?tid=161327)
mysql not loading/saving. -
[RVRP]Tyler - 19.07.2010
I'm learning mysql, so I tried creating my own dialog login and register. Here's is what I got:
http://pastebin.com/AXfnpwN2
The problem I'm having is, whenever I connect, it just tells me to put in a password (wether the account is registered or not), and obviously doesn't save anything like it should. Where did I mess up? Thanks in advance for any help.
Re: mysql not loading/saving. -
ScottCFR - 19.07.2010
There is a lot wrong with that script, I don't have enough time to explain it all. But it's not smart to have your DB info.
Re: mysql not loading/saving. -
[RVRP]Tyler - 19.07.2010
Quote:
Originally Posted by ScottCFR
There is a lot wrong with that script, I don't have enough time to explain it all. But it's not smart to have your DB info.
|
Good point, lol. I followed a tutorial on how to make a register and login using /register and /login, and I tried using that to make a dialog login and register and this is what I got.
EDIT: added new link.