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

$a=array("ford","benz","bmw","maruthi");
echo ($a);//output Array

$a=array("ford","benz","bmw","maruthi");
print_r ($a);//output Array ( [0] => ford [1] => benz [2] =>
bmw [3] => maruthi )

$a=array("ford","benz","bmw","maruthi");
print ($a);//output Array

Is This Answer Correct ?    30 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does $this do in php?

917


What is the super method?

956


Can I write php code in html file?

935


How does php isset work?

888


Why php is widely used?

907


What are the disadvantages of php?

921


What is session and Cokkies . How it works . tell some thing about Session_id()

1908


Can you define an array argument as a reference type?

876


What are the difference between array_keys() and array_key_exists() in php?

1012


Why and where do we use htaccess?

979


What is the use of extract function in php?

918


What is polymorphism php?

935


Tell me how to create a session? How to set a value in session? How to remove data from a session?

929


Is apache needed for php?

866


What are the steps involved to run php?

1007