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
What does $this do in php?
What is the super method?
Can I write php code in html file?
How does php isset work?
Why php is widely used?
What are the disadvantages of php?
What is session and Cokkies . How it works . tell some thing about Session_id()
Can you define an array argument as a reference type?
What are the difference between array_keys() and array_key_exists() in php?
Why and where do we use htaccess?
What is the use of extract function in php?
What is polymorphism php?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
Is apache needed for php?
What are the steps involved to run php?