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 / dheeraj

echo is not a function, but a statement which outputs one or
more strings, it cannot display the array contents where as
the print() and print_r() are functions. print() can even
display the array contents as an array . print_r() Prints
human-readable information about a
variable

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is time a dependent variable?

979


How do I repair phpmyadmin?

948


What is the w3c?

8938


How escape single quotes php?

976


What is htaccess in php?

1283


Is java is better than php?

996


How to add comments in php?

1000


What is inheritance in php? How many types of inheritance supports php?

998


Is php a dying language?

991


What is default session time and path in php?

1060


What types of loops exist in php?

1052


Is variable name casesensitive in php?

979


What is $this in php?

979


How to get elements in reverse order of an array in php?

1022


How to declare an array in php?

1091