Possible Duplicate:
How to enable PHP short tags ?
Hi
I have Xampp version 1.7.3. While browsing a project it shows error. This is because my php code starts with <?....?> so I want to execute my project with both the <? ..... ?> tag and <?php ....?> tag.
Thanks
You are searching for the short_open_tag directive ;-)
To indicate PHP it should accept <? ... ?> as valid PHP tags, you must put this in your php.ini file :
short_open_tag = On
Instead of what you currently have :
short_open_tag = Off
Notes :
php.ini file is using phpinfo().If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With