Only excecute the code when atleast 1 row has been found
#2

mysql_num_rows? You should really use cache.

pawn Код:
new rows, fields;
cache_get_data(rows, fields);

if(rows >= 1)
{
    // there is at least 1 row
}
else
{
    // No rows
}
Reply


Messages In This Thread
Only excecute the code when atleast 1 row has been found - by thimo - 28.07.2013, 18:04
Re: Only excecute the code when atleast 1 row has been found - by MP2 - 28.07.2013, 18:08
Re: Only excecute the code when atleast 1 row has been found - by thimo - 28.07.2013, 18:09

Forum Jump:


Users browsing this thread: 2 Guest(s)