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 $_ files in php?

1033


How do you use an array in excel?

1039


How many escape sequences are recognized in double-quoted strings in php?

929


Write a program to get second highest number in an array using php?

947


Is php coding easy?

901


What is data structure in php?

954


How to swap two variables without using 3rd temp variable.

865


If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

902


Do you know design patterns. List few?

907


Tell me what are the functions to be used to get the image's properties (size, width and height)?

973


What does the php error 'parse error in php - unexpected t_variable at line x' means?

1040


What is polymorphism php?

935


Why json is used in php?

940


Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

907


How do you remove duplicates from an array?

1002