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