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 / 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 |
Where sessions stored in PHP?
Which are the best start and end tags to use?
What is the php function that removes the last element of the array and returns it?
When are you supposed to use endif to end the conditional statement?
What is csrf token and how it works?
Which function is used in php to search a particular value in an array?
What is the difference between query and inquiry?
Is wordpress a php framework?
What language is php based on?
Explain about switch statement in PHP?
What does $_cookie means?
Where php language is used?