I believe you just didn' try it:

<?
$PAGE_TITLE = "Short PHP tags, ASP like!";

?>

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

...
</html>

-elias
www.eassoft.cjb.net

""Bjoern Werkmann"" <[EMAIL PROTECTED]> wrote in message
9cuuc9$9av$[EMAIL PROTECTED]">news:9cuuc9$9av$[EMAIL PROTECTED]...
> 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>
>
> Especially important is the use of '<%='. I'd like to get rid of  the echo
> in '<?php echo $PAGE_TITLE?>'.
>
>
>
>
>
>
> --
> 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