Teodor Cimpoesu wrote:

> my follow-up was from an suggest of using <% though :)
> it exists in C, ASP and JSP. We have it in PHP, why not use it?

Because it is not compatible with XML syntax. Following is incorrect in
XML, because '<' has very restricted usage:

<tag>
 <% echo Date("d.m.Y") %>
</tag>

If you use <?php instead, it is perfect XML and you can use any XML
editor or other tool to work with document:

<tag>
 <?php echo Date("d.m.Y") ?>
</tag>


-----------------------------------------------------------------
  Jirka Kosek                        
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz

-- 
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