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

What is the Diff. Between echo() and Print() in PHP?

Answer Posted / suresh.chaluvadi

when u use print(),a value of 1 or 0 will be returned upon
success or failure of the the print command.where as echo()
just does what its told without letting u know whether or
not it worked properly.

Is This Answer Correct ?    126 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set session.gc_divisor properly?

1014


How do I check environment variables?

956


What is the difference between apache vs niginx?

1020


What is cakephp framework?

1007


What is artisan in php?

915


How do you pass a variable by value in php?

962


What is the difference between unset and unlink?

936


What are the different data types in javascript?

2014


Define soundex()?

892


What are the functions for imap?

1070


Tell me how can we define a variable accessible in functions of a php script?

913


How can we increase execution time of a php script?

907


What is a namespace in php?

923


What is the use of token in php?

946


What is htaccess? Why do we use this and where?

929