I just installed php 5.3.1 in my linux server and now my old
work which i used to write with tags is not working at all..
Please help me out.. How can i resolve this??
Answer Posted / rekha_sri
Short tags are disabled by default.
If you want to enable short tags enable the short_open_tag
in the php.ini file. If it is off we need to give On for
enabling the short tags.
But you should use the full length tags <?php ?>.
Reasons for why we should not use the short tags,
* If you want to make your application portable, it may be
short open tags are not allowed on another server and hence
your application is not working.
* It will be removed in PHP 6.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the name of the scripting engine that powers PHP?
Why print_r is used in php?
Is python easier than php?
What is in a cookie?
Is set in php?
What language is php based on?
What is the difference between die () and exit () in php?
What is a namespace in php?
How to convert a json string to an array in php?
Why do we use csrf token?
What is the default session time in php?
How to get a total number of rows available in the table?
How do I run php?
Is php session id unique?
Is json a string php?