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]
- Re: [PHP] <? PHP vs. <? eschmid+sic
- Re: [PHP] <? PHP vs. <? Toby Butzon
- Re: [PHP] <? PHP vs. <? Shawn Blaylock
- Re: [PHP] <? PHP vs. <? eschmid+sic
- Re: [PHP] <? PHP vs. <? Michael Talbot-Wilson
- Re: [PHP] <? PHP vs. <? Teodor Cimpoesu
- [PHP] XML Processing Instruction ( was... Brian White
- Re: [PHP] XML Processing Instruction (... Romulo Roberto Pereira
- Re: [PHP] XML Processing Instruction (... Romulo Roberto Pereira
- [PHP] Re: XML Processing Instruction (... Teodor Cimpoesu
- [PHP] Re: XML Processing Instruction (... Jirka Kosek
- [PHP] Re: XML Processing Instruction (... Brian White
- [PHP] Stripping Single Quotes Elan
- Re: [PHP] Stripping Single Quotes CC Zona
- Re: [PHP] Stripping Single Quotes Web master
- Re: [PHP] <? PHP vs. <? Thomas Deliduka
- Re: [PHP] <? PHP vs. <? Rasmus Lerdorf