30.01.2012, 22:15
Hey guys, instead of just copying codes, i'm trying to learn the meanings of everything, I read the meaning off wiki but just want to another 'answer' for lack of better words from you guys.
First one is:
I know this is suppose to tell you how many rows you got or something like that, so how does it work to detect if your registered or not? Is that the only thing it does? - Sorry if i might sound 'nooby' with these questions.
Second question:
How do you compare something using mysql functions? Let's say i want to compare inputtext and pPassword which is on the database, how would you do so? something like
Not sure if that would work though, which is why I ask. Thanks in advance guys and gals.
First one is:
pawn Код:
mysql_num_rows()
Second question:
How do you compare something using mysql functions? Let's say i want to compare inputtext and pPassword which is on the database, how would you do so? something like
pawn Код:
if(inputtext == pPassword)