11.04.2011, 17:14
If you mean how many records stored in the table, use
This function will return the value through mysql_fetch_int();
Or.. if you mean how many fields are there in a table, I guess ain't possible.
pawn Код:
mysql_query("SELECT COUNT(table_name) FROM `random_field_name`");
mysql_store_result();
Or.. if you mean how many fields are there in a table, I guess ain't possible.