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...

1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?

Answer Posted / ajay

echo is a statement where print_r,print are the functions
which is prints all the variable result..
If the variable is an Array, then Print_r will prints the
array in details (Array[0]-> " the array values")...
where as the other two(echo and print) only prints as ARRAY().

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules for naming a php variable?

1053


Tell me can the value of a constant change during the script's execution?

1296


Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

1051


Do you know what is php?

1025


Is php used anymore?

972


What is the use of "enctype" attribute in a html form?

1040


What php framework does wordpress use?

1025


What does $_files means?

1048


What is a controller in programming?

1060


What is lamp in php?

955


What are computer variables?

951


What is a variable cost example?

1039


what is constructor

1612


How can MYSQL functions be available with PHP?

1022


Why does sql injection happen?

1004