Help Needed! PHP Code to dynamically create .html file
Posted: Thu Oct 30, 2008 2:30 pm
My PHP script gets the data from MYSQL DB and shows the data dynamically using pagination. The hyper link is created for each title linking to title page with .html extension.But i don't want to create static html files for each title link .When the users clicks the link ,it shows the .html file with the title name but that is not created as static page.I want to create .html file dynamically and get the data from mySQL to display on the dymaic html page for each title link.
I know we can use the file stream to dynamically create .html file on the hosting server.But when i need to have a generic php file that i need to link to all the titles and then redirect to the title page.
But i don't want to do this way.On the fly when user clicks titel link ., get the information from my SQL DB create and show the title page in the browsre.
I know we can use the file stream to dynamically create .html file on the hosting server.But when i need to have a generic php file that i need to link to all the titles and then redirect to the title page.
But i don't want to do this way.On the fly when user clicks titel link ., get the information from my SQL DB create and show the title page in the browsre.