Reply to Re: Dynamic <title> in PHP?

Your name:

Reply:


Posted by Tyrone Slothrop on 12/23/05 06:38

On 22 Dec 2005 19:57:44 -0800, "Andrew" <andrew.bistak@gmail.com>
wrote:

>hi all,
> is it possible to have dynamic <title> pages in PHP without this being
>described in the link (e.g. &title="hello world")
>
>Basically (without a database), one file called display, loads another
>HTML file but I want that HTML file to have the <TITLE> up the top and
>not in the middle somewhere?
>
>regards,
>Andrew

You can include the file in a function and pass the title:

function display_page ($title) {
include_once ("page.html");
}

[Back to original 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

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