Login / Register cant retrive data - dini
#5

Quote:
Originally Posted by _Jay_
Код:
ppassword == dini_Get(file, "password");
== is used to check if one value is equal to another. = is used to set one value to another. I would say you need to use =, but that probably won't work. Presuming dini_Get returns a string, you need to format the ppassword variable into that string (providing ppassword is a string too that is).

Код:
new ppassword[256];
format(ppassword, 256, "%s", dini_Get(file, "password"));
Additionally, it would be more efficient to check if the username is registered before getting the password.
il give urs a try
Reply


Messages In This Thread
Login / Register cant retrive data - dini - by IamNotKoolllll - 18.04.2010, 21:59
Re: Login / Register cant retrive data - dini - by Backwardsman97 - 19.04.2010, 03:58
Re: Login / Register cant retrive data - dini - by Jay_ - 19.04.2010, 12:19
Re: Login / Register cant retrive data - dini - by Injection - 19.04.2010, 12:38
Re: Login / Register cant retrive data - dini - by IamNotKoolllll - 19.04.2010, 14:30

Forum Jump:


Users browsing this thread: 2 Guest(s)