Re: Include Pages and PHP
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 20:27:44 -0500
sales@xxxxxxxxxxxxxxxxxx wrote:
I have used Include pages for a menu bar within a webpage - See below.
<!--webbot bot="Include" U-Include="menu-categories.htm" TAG="BODY" --(Created by Frontpage)
(Created by FrontPage)
First mistake.
It works fine when the page is htm format, but when I use the page in
php format, all the menus that are an Included link do not show.
Expecting FrontPage to understand PHP - second mistake.
Any ideas???
Thanks
Alec
1. Learn basic HTML and get rid of your garbage generator.
2. Use PHP includes to include the files.
FrontPage include statements are in .htm(l) files and processed by the FrontPage extensions. PHP statements are in .php files and are processed by the PHP interpreter.
Ne'er the twain shall meet.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Include Pages and PHP
- From: sales
- Include Pages and PHP
- Prev by Date: PHP5 newbie question (i hope) .. using inherited methods from a subclass
- Next by Date: Re: PHP5 newbie question (i hope) .. using inherited methods from a subclass
- Previous by thread: Re: Include Pages and PHP
- Next by thread: Re: Include Pages and PHP
- Index(es):
Relevant Pages
|