Jump to content

[SOLVED] Including a title from another page?


vmalli

Recommended Posts

I am trying to include a title from another page this is what I am using, but it doesnt seem to work.

 

<html>

<head>

<title><?php echo $name ?> - Some text</title>

</head>

<?php include("page.php"); ?>

</html>


The stuff in page.php

<?php $name="blabla"; ?>

<body>

my other html

</body>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.