Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP php tag not working

Have Programming Question? Ask it here!
 
 
 


Java Coder
php tag not working
1 Answer(s)      7 months ago
Posted in : PHP


why PHP tags not working in my application?


Advertisement
View Answers

December 27, 2013 at 11:51 AM


This might happen when your shortopentag is turned off. So, you will have to turn it on by changing the status of this PHP tag in php.ini file.

Here is the steps:

  • set directive shortopentag = On in your php.ini.
  • call iniset("shortopen_tag", 1); in your code;
  • add the following line to your .htaccess file:
  • phpvalue shortopen_tag 1

Hope it will work.



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com