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 / mahesh
echo is a statement where print_r,print are the functions
all prints 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 ? | 47 Yes | 8 No |
Post New Answer View All Answers
How do I start a php session?
How long should a session last?
What is the difference between myisam and innodb?
What is the difference between apache vs niginx?
What are the design patterns in php?
Why is php used?
Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.
What is escaping to php?
What is cookie and why do we use it?
How many types of arrays are there in php?
Write the statements that are used to connect php with mysql
What is meant by pdo in php?
What is the difference between overloading and overriding in php?
What is whitespace in html?
Tell me how is the ternary conditional operator used in php?