<?=
Posted by: leanards (222.127.196.---)
Date: June 08, 2009 05:54AM

Hi there guys, Does anybody know why <?= ?> doesn't work on wamp 2.0 server.

Options: ReplyQuote
Re: <?=
Posted by: toumimi (---.14.115-78.rev.gaoland.net)
Date: June 08, 2009 10:38AM

Hi,

<?= is a short open tag, as <?
If possible, you should use <?php instead because it is compatible with all servers.
(sometimes, you can't activate this php extension and your site can't work at all ! )

Doing this, you also avoid interpretation problems as you can use in php, tag <?xml.

So, replace all you <?= ___ ?> expression by <?php echo ____ ?>.

If you don't care about it thumbs down, you may also enable short open tag in php configuration
Left click -> PHP -> Configuration PHP -> tick short open tag (at the top)

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: <?=
Posted by: leanards (222.127.196.---)
Date: June 16, 2009 04:32AM

Thanks for the reply. I will try this...

Options: ReplyQuote


Sorry, only registered users may post in this forum.