I have an ASP site I would like to convert to PHP.
It consists of a site template that has a "sub" function in the blank body.
For example - on the "widgets" page, the widgets.ASP page "includes" the Site Template, then in the blank body it "subs" the content of the widgets page.
Like this...
(widgets.asp)
<!--#include file="siteTemplate.asp"-->
<% Sub PageBody %>
here's the content of the widgets page
<% End Sub %>
and the siteTemplate.asp looks like this...
<html>
<head></head>
<body>
(bunch of straight HTML for the navigation)
<% PageBody %>
(closing HTML for the bottom of the page)
</body>
</html>
The INCLUDE file I can get... but what do I use for the <% PageBody %> in the Site Template and the <% Sub PageBody %>... <% End Sub %> in the individual pages?
Yep - I'm a newbie. 🙂
Terry