I am trying to copy a file into a folder called profile. I got that working, but I need the page to be .html
. I also need data from MySQL to put in the .html
page. How do I go about that?
views:
28answers:
2
+2
A:
You can 'fake it' being a .html file using .htaccess:
AddType application/x-httpd.php .html .htm
Tim
2010-04-26 15:21:30
How would you do that using a windows server IIS 6.0
Gully
2010-04-26 21:59:32
+1
A:
Create a php file which loads the html file and then inserts data from mysql before outputting the results.
zaf
2010-04-26 15:21:48