How to enable PHP short tags? -


i have web application on linux server starts <?

i needed copy application windows environment , working fine except sql statement being rendered differently. don't know if has script beginning <?php instead of <? because don't know enable <? php.ini changed <?php

i know these 2 statements supposed mean same need test <? in order ensure application same. way can eliminate possibility.

thanks

set

short_open_tag=on 

in php.ini

and restart apache server.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -