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 |
How do I escape data before storing it in the database?
How the values are ordered in an array?
Is php a framework?
why we used type-pool SLIS in ALVs? how many types of windows in scripts?
Why triggers are used in mysql?
How can we submit a form without a submit button?
23 Answers ABC, HCL, Infosys, Kept Bug, Panys, Rushmore Consultancy, Torque Infotech, Wipro, zCon Solutions,
What is mod_php?
What are include() and require() functions?
What is 'float' property in css?
1.What is application server ? 2.What is web server ? 3.Explain the process of execution of a php file ?
what is the use of include() function when include_once() alone will enough?
What is the difference between require_once and require in php?