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 |
What is php key?
Explain what are the different errors in php?
What is meant by session in php?
can we use PGP with PHP?
What is the difference between echo print and print_r in php?
What is Gd PHP?
Tell me how can I display text with a php script?
How can I loop through the members of an array?
1 Answers Rushmore Consultancy,
What is $_ server request_method == post?
What is the use of ajax in php?
When is a conditional statement ended with an endif?
What does php do?