tags:

views:

28

answers:

2

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?

+2  A: 

You can 'fake it' being a .html file using .htaccess:

AddType application/x-httpd.php .html .htm

Tim
How would you do that using a windows server IIS 6.0
Gully
+1  A: 

Create a php file which loads the html file and then inserts data from mysql before outputting the results.

zaf