Converting a query (to RC7)
#1

Well since the new version of BlueG's MySQL plugin now only supports threaded queries (which is awesome) it's forcing me to convert all my 350 queries (yes, I counted them, via notepad++). But I don't think I'm getting the gist of it (I've checked AndreT's tutorial)
So can someone convert this query for me, please.

pawn Код:
format(String, 75, "SELECT `Name` FROM `accounts` WHERE `Name`='%s' LIMIT 1",escapename);
mysql_query(String);
mysql_store_result();
if(mysql_num_rows() != 0)
{
    //something
}
else
{
    //something else
}
It's what I use under OnPlayerConnect.
Reply


Messages In This Thread
Converting a query (to RC7) - by Tee - 04.06.2012, 23:42
Re: Converting a query (to RC7) - by AndreT - 04.06.2012, 23:56
Re: Converting a query (to RC7) - by Tee - 05.06.2012, 00:08
Re: Converting a query (to RC7) - by AndreT - 05.06.2012, 00:28
Re: Converting a query (to RC7) - by Tee - 05.06.2012, 00:44
Re: Converting a query (to RC7) - by Tee - 05.06.2012, 00:48
Re: Converting a query (to RC7) - by Calgon - 05.06.2012, 01:08
Re: Converting a query (to RC7) - by SuperViper - 05.06.2012, 01:10
Re: Converting a query (to RC7) - by Tee - 05.06.2012, 01:12
Re: Converting a query (to RC7) - by AndreT - 05.06.2012, 09:59

Forum Jump:


Users browsing this thread: 1 Guest(s)