I used this example from someone else below and it works, but I still have to query the database twice. I can't seem to figure out how to do it in one loop, but it works. I loop through to count the total threads, then loop through again to print the rows.
In reply to Re^2: Counting fields from database (updated)
by htmanning
in thread Counting fields from database
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |