I believe you want something like this:

<?
        $PAGE_TITLE = "My Page";

?>

<html>
<head>
        <title> <?=$PAGE_TITLE?> </title>
</head>

...
</html>

For the short cut syntax on echo checkout:
http://www.php.net/manual/en/function.echo.php  This assumes that you have
shortags on in your php.ini file.


Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]

Searching for a new IT solution for your company? Need to improve your
product marketing? 
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here 


> Hi there,
> 
> pedantic as it might seem, ..., but is there a way to implement the
> following ASP snippet in PHP
> 
> <%
>     Dim PAGE_TITLE
>     PAGE_TITLE = "My Page"
> %>
> <html>
> <head>
>  <title> <%=PAGE_TITLE%> </title>
> </head>
> 
> ...
> </html>

Reply via email to