06.11.2010, 10:27
this is for get how much rows are in one table right?
so how i can get wirh this code how much rows have the lettere a ? or the id 1
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);