Hi, how would i limit the amount of rows displayed from database?
Example
look in the big green table in the middle of the page, the one where i have 10 rows saying 'How many rows'.
Say if i wanted to limit the amount displayed to 8, what code would i iimplement to do this.
Here is the current code being used for main.php:
**OPTIONAL**
Once 8 rows have been inserted, then the user click 'more...' which takes them to a page displaying all the news from that category from the past week.
For example:
Example
look in the big green table in the middle of the page, the one where i have 10 rows saying 'How many rows'.
Say if i wanted to limit the amount displayed to 8, what code would i iimplement to do this.
Here is the current code being used for main.php:
**OPTIONAL**
Once 8 rows have been inserted, then the user click 'more...' which takes them to a page displaying all the news from that category from the past week.
For example: