----- Original Message ----- 
From: "jessica lee tishmack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:50 PM
Subject: [PHP] set var in PHP clarified


> Thanks for the prompt replies...but I think I should clarify...
> 
> In regular html, I would do this:
> 
> <!--#set var="TITLE" value="some title here"-->
> <!--#include virtual="/include/header.html" -->
assign like this

$TITLE = "some text here";




> 
> and header.html would have in it (among other things):
> 
> <title><!--#echo var="TITLE" --></title>

use like this

echo $TITLE;

or 

print"$TITLE";


if this is in html makde sure you have php tags arround it  <? ?>




> 
> So, the title of the webpage would be "some title here"...
> 
> How can I accomplish the same thing in PHP?
> 
> Thanks,
> Jessica
> 
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to