Hello,
I am performing a database query and retrieving the results.
The problem is I need to to repeat AT LEAST 6 times...despite there only sometimes being 2 or 3 records in the database for the particular query?
For example...I have a table in HTML with 6 fields...if it finds a review in the database (for example) it will print it on the page...untill it has run out of results then it will print something along the lines of "no more reviews - click here to add yours".
The problem is obviously with the WHILE loop it will print the results , but if there are less than 6 results in the database it will just leave the other fields blank! and not create the rest of the tables!?!?
My initial thought is if I can force a WHILE statement to loop a certain amount of times (regardless of how many records it pulls from the database)...that should do the trick.
If anybody could let me know how to do this I would be very greatful!

Or any other suggestions are welcome.
MANY THANKS
DAVID