Little question with MySQL and multiple rows
#2

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.
Reply


Messages In This Thread
Little question with MySQL and multiple rows - by steki. - 01.06.2011, 11:55
Re: Little question with MySQL and multiple rows - by Calgon - 01.06.2011, 12:18
Re: Little question with MySQL and multiple rows - by steki. - 01.06.2011, 12:22
Re: Little question with MySQL and multiple rows - by Calgon - 01.06.2011, 12:25
Re: Little question with MySQL and multiple rows - by steki. - 01.06.2011, 12:42
Re: Little question with MySQL and multiple rows - by steki. - 01.06.2011, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)