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 check is php not empty?
What is fetch array in php?
Tell me how stop the execution of a php scrip?
How to create an array of a group of items inside an html form?
What is the use of print_r function in php?
What is a composer in PHP?
What does php exit do?
Which function would you use to merge two arrays in php?
Tell me how can we define a variable accessible in functions of a php script?
What is prepare in php?
How to know user has read the email-php?
Why do we use javascript in php?
What is variable give example?
What is the method to execute a php script from the command line?
How to get a total number of elements used in the array?