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]
|