Jump to content


Photo

<? and <?PHP tags.............


  • Please log in to reply
1 reply to this topic

#1 BrotherLogic

BrotherLogic
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 12 August 2006 - 07:36 PM

I just installed PHP on my IIS6.0 server.

I am wondering why only one of the two types of PHP tags are working.
Can someone please tell me as I have never encountered this problem before, as I have always worked with PHP on pre-installed servers...


<?PHP ------ is working

<? --- does not work.


Thanks in advance.
Jon

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 12 August 2006 - 07:38 PM

You need to enable short tags in your php.ini




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users