faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

25 of 69 people (36%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can I include a php file in to a html file so that it is shown in a table that is in the html???

Mar 19th, 2008 22:18
ha mo, Chris Hayes, Lapas No,


Simplest: rename your page from something.html to something.php.
Then insert the script making the table into that page <?PHP
include('path/file.php');?>
If you really want to call the page .html you can try to include the
table script with Server Side Includes or tell your server to parse html
files with PHP, but keep in mind that this increases your server load
considerably (and it has to be your own server).
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com