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
Who is the father or inventor of php?
which will print out the php call stack?
Tell me what does pear stands for?
What does php exit do?
List few sensible functions in PHP?
Tell me what are the __construct() and __destruct() methods in a php class?
How to display your correct URL of the current web page?
What is the use of $_server and $_env?
Which one is best framework for php?
How do I update php?
What are escaping characters? Explain with an example?
What are the advantages of oops in php?
How to randomly retrieve a value from an array?
How to assigning a new character in a string?
What kind of things have you done on the social side?