Results 1 to 2 of 2
Related
-
How do you put a PHP Function, on a HTML Page? Forum: HTML Forum
Replies: 4 -
Get data in same HTML page Forum: HTML Forum
Replies: 1 -
html page break Forum: HTML Forum
Replies: 3 -
Passing variables from HTML page to page Forum: HTML Forum
Replies: 1 -
multi-level JavaScript document.write / html page within a html page Forum: Javascript Forum
Replies: 7
-
05-12-2008, 08:48 PM #1
How do you use the “include function” to put a HTML Page (top.htm) onto a PHP Page?
How do you use the “include function” to put a HTML Page (top.htm) onto a PHP Page? (member.php)
I would like to Thank You, in advance for any help!
-
05-13-2008, 08:07 AM #2
Re: How do you use the “include function” to put a HTML Page (top.htm) onto a PHP Pag
Hmm, When you directly include a page with PHP you literally include it. If you're trying to include a HTML page in a PHP page you're going to get lots of errors, mostly thrown by the clash of <> tags in HTML and <? ?> tags in PHP.
What you might be referring to is a templating engine where you can inlcude templates and merge them all together - like say header, body and footer templates which are presented to the end user as once complete HTML page.
Check out http://www.smarty.net/ as an example of what I'm on about.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum