This is a discussion on <?= does not work on Windows XP Apache 2.2.x and PHP 5.2.4 within the PHP Language forums, part of the PHP Programming Forums category; When i do <?php echo "This works fine"; ?> Everything works fine. But when i do <?= &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, 28 Sep 2007 10:06:26 +0200, Nicos <nicoskk@gmail.com> wrote:
> When i do > <?php > echo "This works fine"; > ?> > Everything works fine. But when i do > <?= "Some text"?> nothing works. Any ideas? It relies on short_open_tags, which have been disabled by default for a very long time now. Don't rely on them, only keep the setting on for legacy code that still uses it for which you have no time to rewrite it, and use full tags in new code. -- Rik Wasmus |