page <title> from include variable, how?
From: mark (dgfgdfgdg_at_asdfasd.com)
Date: 12/30/03
- Next message: mark: "Re: page <title> from include variable, how?"
- Previous message: morlock: "Re: problem, website structure"
- Next in thread: mark: "Re: page <title> from include variable, how?"
- Reply: mark: "Re: page <title> from include variable, how?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 20:02:47 -0000
IF I have something like this:
<title><?php print($pagetitle); ?></title>
<body>
<?php include("folders/my_include.php"); ?>
</body>
</html>
and my_include.php contains the value to the variable ($pagetitle). How do I
get the value before the code for the <title> is written. This is just a
basic example I used to try and put across my question, my site has a whole
bunch of includes dynamically generated from user input. I'd just like to
get the <title> to change according to a variable in the includes......but
I;m stuck?
thanks
mark
- Next message: mark: "Re: page <title> from include variable, how?"
- Previous message: morlock: "Re: problem, website structure"
- Next in thread: mark: "Re: page <title> from include variable, how?"
- Reply: mark: "Re: page <title> from include variable, how?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|