25.06.2012, 02:59
I'm doing a little check in my script to see whether an account exists and following that is around 150 or more lines of code which will be executed if the account does exist. I just want to find out how would I use the old functions with the new ones to execute this. Would it be something like this?
I've seen where mysql_store_result() can be used in the R7 version.
pawn Code:
format(query,sizeof(query),"SELECT `Name` FROM `accounts` WHERE `Name`='%s'",escapename);
mysql_function_query(1,query,true,"","");
mysql_store_result();
//etc...