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 / ajay
echo is a statement where print_r,print are the functions
which is prints all the variable result..
If the variable is an Array, then Print_r will prints the
array in details (Array[0]-> " the array values")...
where as the other two(echo and print) only prints as ARRAY().
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the rules for naming a php variable?
Tell me can the value of a constant change during the script's execution?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
Do you know what is php?
Is php used anymore?
What is the use of "enctype" attribute in a html form?
What php framework does wordpress use?
What does $_files means?
What is a controller in programming?
What is lamp in php?
What are computer variables?
What is a variable cost example?
what is constructor
How can MYSQL functions be available with PHP?
Why does sql injection happen?