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 / muhammad babar bhatti

echo is a command for display a string or statement
print is a function for display a string or statement, but
it returns true/false also and print_r is also a function
that use to display an array data which we can not do
through the print function or echo statement.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a php class?

1128


What is urlencode and urldecode in php?

1186


what is the use of include_once in php?

1107


What is zend studio for?

1078


Tell me what is the default session time in php?

1033


What are php loops?

1016


What is phpsessid?

1031


What is form action php?

1069


What is the difference between == and === operator in PHP?

1048


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

1088


How can cross site request forgery csrf be prevented?

996


What is 'float' property in css?

1043


Explain about PHP filter and why it should be used?

983


What are the three parts of an http request?

1035


What are the 5 types of variables?

1079