How to
#3

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
Example code about sql part.
pawn Код:
mysql_format(mysql, query, sizeof(query), "SELECT `user` FROM `yourtable` WHERE `user` = '%e'", account); //you gotta change the table and column
new Cache:result = mysql_query(mysql, query);
if(cache_get_row_count() != 0)
{
    //If the rows found
}
else
{
        //if no rows exists
}
cache_delete(result);
You misunderstood me. My biz loading is ok, only checking if the variable bizname has something more than just a blank space isnt working
Reply


Messages In This Thread
How to - by Sime30 - 21.01.2015, 20:45
Re: How to - by Ironboy - 21.01.2015, 21:01
Re: How to - by Sime30 - 21.01.2015, 21:05
Re: How to - by Sime30 - 22.01.2015, 08:00

Forum Jump:


Users browsing this thread: 2 Guest(s)