RE: [PHP] set var in PHP
| From: | Chris Boget | Date: | Wed, 18 Jul 2001 15:47:27 +0000 |
| Subject: | RE: [PHP] set var in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58456@lists.php.net to get a copy of this message | ||
> In html, I can do
> <!--#set var="TITLE" value="some title here"-->
I've actually never seen this in html...
> How do I do this in PHP?
but is this what you are talking about?
$TITLE = "some title here";
? Or am I missing something?
Or perhaps you want to keep it an html thing...
echo "<!--#set var=\"TITLE\" value=\"some title here\"-->";
?
Chris