14.12.2014, 12:57
Quote:
You're running a query to list the number of rows and display the data but why a query if you just want to get the number of rows? If I'm not wrong, you're forgetting to assign the array values equal to the data obtained from the database.
Also, instead of using 'rows' for noting the ID on format, use 'i'. 'rows' will output only the number of rows. |