How to compare Mysql queries?
#1

Basically i have this code:

pawn Код:
format(query, sizeof(query), "SELECT `faction` FROM `users` WHERE `name` = '%s'", name);
mysql_function_query(dbHandle, query, false, "", "");
format(query, sizeof(query), "SELECT `faction` FROM `users` WHERE `name` = '%s'", GetName(playerid));
mysql_function_query(dbHandle, query, false, "", "");
How do i compare both of those results, they will return a number from the database, if that helps.
Reply


Messages In This Thread
How to compare Mysql queries? - by Axnon - 14.12.2014, 21:04
Re: How to compare Mysql queries? - by Vince - 14.12.2014, 21:41
Re: How to compare Mysql queries? - by Axnon - 15.12.2014, 15:30
Re: How to compare Mysql queries? - by Lordzy - 15.12.2014, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)