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
How do you destroy a particular or all Sessions?
What is self in php?
Tell me what type of operation is needed when passing values through a form or an url?
What is config file in php?
Write a program to display a table of any given number?
Tell me is it possible to protect special characters in a query string?
How can you compare objects in php?
What is a static method php?
In php, objects are they passed by value or by reference?
What is multidimensional array in php?
What does $this do in php?
How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What are the 3 types of sessions?
Explain some of the php array functions?
How does php work?