19.04.2014, 22:27
here's an exemple :
pawn Код:
mysql_query("SELECT NULL FROM table1");
mysql_store_result();
new rows = mysql_num_rows();
mysql_free_result();
printf("There are %d rows in table1",rows);