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 constructor and destructor?
What is an array in php?
What is associative array in php?
What is the different between count() and sizeof() in php?
What does pear stand for?
What is the use of magic function in php?
What is php key?
Explain the difference between unlink() and unset()?
Who is the father or inventor of php?
What is php in full?
Which method removes the last element from the end of an array?
What is the difference between for and foreach in php?
Can we use session in mvc?
Does php support inheritance?
Is numeric in php?