[WM] ?> in content comes out as >

Brian Wisti brian at coolnamehere.com
Wed Feb 25 18:15:46 GMT 2004


Wes Meltzer writes:
 > On Feb 25, 2004, at 9:45 AM, Brian Wisti wrote:
 > 
 > > <?= "Hello, world!" ?>
 > 
 > This isn't legal PHP, is it? I thought it had to be <?php ... ?>. I 
 > could be wrong, seeing as my PHP is really bad, but could that be 
 > making a difference?
 > 
 > Wes :wm

It's legal PHP, added around 4.0 for the sake of people who got tired of 
     <?php echo "Hello, world!"; ?>

Either way, the end problem is the same for me.

       <?= "Hello, world!" ?> becomes
       <?= "Hello, world!" > , and
       <?php echo "Hello, world!" ?> becomes
       <?php echo "Hello, world!" >

Kind Regards,
Brian Wisti
http://coolnamehere.com/



More information about the Webmake-talk mailing list