Re: set var in PHP
| From: | Slavomir Slizik | Date: | Wed, 18 Jul 2001 18:14:21 +0000 |
| Subject: | Re: set var in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58470@lists.php.net to get a copy of this message | ||
Hello,
it isn't regular html, it is only server-parsed stuff .. Server Side
Includes.
You won't need that in PHP, just do:
<?
$TITLE="This is my title.";
?>
<html><head>
<title><?=$TITLE?></title>
blah blah blah ..
SSL
On Wed, 18 Jul 2001, jessica lee tishmack wrote:
> In html, I can do
>
> <!--#set var="TITLE" value="some title here"-->
>
> How do I do this in PHP?
>
> Thanks,
> Jessica
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>