Link to home
Start Free TrialLog in
Avatar of Simon336697
Simon336697Flag for Australia

asked on

PHP echo short syntax not working

Hi guys, hope you are all well.
Guys i have a problem in using the php echo short syntax on 1 of 2 setups I have.
The syntax Im trying to use is:

<?= $variablename ?>
instead of:
<?php echo $variablename ?>

It is working fine on my LINUX Server, but not on my WINDOZE box (PHP/MySQL with WAMP 5)
On my WINDOZE box I have to use <?php echo blah blah ?>

Is there a php setting or something in php.ini that I have to tweak on my $M box?

Any help greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Simon336697

ASKER

HI ange!
That did it thank you mate, and congratulations :>)