<?
        $PAGE_TITLE = "My Page";

?>

<html>
<head>
        <title> <?echo($PAGE_TITLE)?> </title>
</head>

...
</html>


Sebastián Renzi
Consultoría & Desarrollo de Sistemas.
CODES S.A



> -----Mensaje original-----
> De:   Bjoern Werkmann [SMTP:[EMAIL PROTECTED]]
> Enviado el:   viernes 4 de mayo de 2001 16:05
> Para: [EMAIL PROTECTED]
> Asunto:       [PHP] Script invocation similar to ASP <%=  %>
> 
> 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