php - creating individual html pages for each output of a WHILE statement

Associate
Joined
24 Jul 2004
Posts
1,580
Location
Preston, Lancs
Hi,

I have a WHILE statement that runs through my database query and outputs each record to the screen. All the records display on the same page.

I would like to somehow create a new page at the start of each loop using the $title variable from my query, run through the loop and write all that data to the page, then close that page and create a new one and repeat.

I have my while loop written but im unsure how to go about putting the contents of each loop into their own page.

Any help appreciated
 
yeah sorry it would be creation of a new file for each database record, rather than viewing them dynamically. I have had a few more ideas on this but thanks for the input.
 
Back
Top Bottom