Re: Include Pages and PHP
- From: NC <nc@xxxxxxxxx>
- Date: Thu, 29 Nov 2007 20:30:48 -0800 (PST)
On Nov 29, 12:00 pm, sa...@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)
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.
Any ideas???
As a short-term fix, replace this:
<!--webbot bot="Include" U-Include="menu-categories.htm" TAG="BODY" --
with this:
<?php readfile('menu-categories.htm'); ?>
As a long-term strategy, do not use Frontpage past HTML template
development; once you have a HTML / CSS / JavaScript template,
continue to develop with something better suited for PHP.
Cheers,
NC
.
- References:
- Include Pages and PHP
- From: sales
- Include Pages and PHP
- Prev by Date: Re: php mail() not sending to mail Clients (ie, Outlook, Apple Mail, thunderbird, etc..)
- Next by Date: Re: problem with fmod()
- Previous by thread: Re: Include Pages and PHP
- Next by thread: php with rss
- Index(es):