开发者

copying html page with mysql data in php

I am trying to copy a file 开发者_Python百科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?


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

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜