Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to check a key exist in an array?

1092


Is php coding easy?

956


Explain the syntax for ‘foreach’ loop with example.

966


What is the difference between require_once and require in php?

1099


Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?

1012


Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?

1063


What is the Pipe Symbol represented?

1098


What are the special characters you need to escape in single-quoted stings?

930


what is variable scope, which variables are accessible from where and what are "undefined variable" errors?

1095


Explain me what is the difference between explode() and split() functions?

1098


What does isset() function?

965


What the difference between the 'bitwise and' operator and the 'logical and' operator?

978


What is the role of php?

984


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

953


Is php faster than nodejs?

965