-
SitePoint Enthusiast
PHP output
Hello,
I have been handed legacy code which contains the following:
<?= $variable ?>
Now this outputs a string no problem on the old linux server however on a new windows box running PHP 5 this code does not echo the string.
Instead of replacing lots of code, is there a way I can tell PHP (in the ini?) that this should be echoed?
Many thanks
Sinky
-
-
To clarify that answer, you need to add that to either the .htaccess file of the directory the PHP file is in, or the PHP.ini file for the server.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks