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 difference between echo and print statement?

Answer Posted / roshan

echo can take multiple arguments separated by comma whereas print can take one single argument.

echo $x,$y,$z;//This is valid
//print $x,$y; This is invalid
print $x; //This is valid.

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reference variable php?

1021


What is a php array?

1001


Is php a backend?

969


Is it possible to destroy a cookie?

979


When to use get and post request?

1008


How to access a specific character in a string using php?

1039


Why do we use session?

1001


Explain how to run the interactive php shell from the command line interface?

1063


Can php variables have numbers?

999


What is difference between php and html?

1044


How to check an key is exists in array?

1082


How to create a directory?

1031


How do I run a php script?

1160


How to know user has read the email-php?

949


What is is_null() in php?

1057