-2

Possible Duplicate:
How to enable PHP short tags?

Quick question how to enable: <?="something"?>

It should just echo: something

How to turn it on in web server configuration? How is it called that <?= ?> ?

Community
  • 1
  • 1
borewik
  • 83
  • 1
  • 7
  • http://www.php.net/manual/en/ini.core.php#ini.short-open-tag – Serg Nov 02 '12 at 15:15
  • Do not do that. [Are PHP short tags acceptable to use](http://stackoverflow.com/questions/200640/are-php-short-tags-acceptable-to-use) – Salman A Nov 02 '12 at 15:17

1 Answers1

1

open php.ini file and then set following

short_open_tag=On

And restart your Apache server.

Jatin
  • 1,668
  • 2
  • 16
  • 23