|
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>";
Navigation:
[Reply to this message]
|