Help mysql
#4

pawn Код:
mysql_format(mysql, query, sizeof(query), "SELECT * FROM `users` WHERE `Username` = '%e' LIMIT 1;", banname);
new Cache:result = mysql_query(mysql, query);
if(cache_get_row_count() > 0)
{
    //if the user exists in database
}
else {
    //If it doesnt exists
     }
cache_delete(result);
Reply


Messages In This Thread
Help mysql - by Edw - 27.01.2015, 05:38
Re: Help mysql - by Edw - 27.01.2015, 06:17
Re: Help mysql - by Edw - 27.01.2015, 08:38
Re: Help mysql - by Ironboy - 27.01.2015, 09:47
Re: Help mysql - by Edw - 27.01.2015, 17:44
Re: Help mysql - by Edw - 27.01.2015, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)