Reply to Re: Dynamic <title> in PHP?

Your name:

Reply:


Posted by jukka on 10/13/26 11:35

Andrew 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
>
not sure if i understood correctly, but u could do something like the
following:

top of current page:
<?php
$title = "you define the title here";
include('page.php');

and in page.php:
<?php
echo "<title>".$title."</title>";

[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

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