RE: [PHP] Script invocation similar to ASP <%= %>

From: Date: Fri, 04 May 2001 19:35:22 +0000
Subject: RE: [PHP] Script invocation similar to ASP <%= %>
Groups: php.general 
Request: Send a blank email to php-general+get-51468@lists.php.net to get a copy of this message
<? $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:Bjoern@Werkmann-Net.de] > Enviado el: viernes 4 de mayo de 2001 16:05 > Para: php-general@lists.php.net > 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: 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

« previous php.general (#51468) next »