You are here: Re: Include Pages and PHP « PHP Programming Language « IT news, forums, messages
Re: Include Pages and PHP

Posted by Jerry Stuckle on 11/30/07 01:27

sales@freeweekends.co.uk 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@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация