01.06.2011, 12:18
You need to be more specific. The mysql_num_rows function returns an integer of how many rows your [select] query returns.
Example: You have an accounts table with 2 accounts, you execute the query "SELECT * FROM accounts" and it'd return 2 from mysql_num_rows.
Example: You have an accounts table with 2 accounts, you execute the query "SELECT * FROM accounts" and it'd return 2 from mysql_num_rows.