What is the Diff. Between echo() and Print() in PHP?
Answer Posted / rockesh ronith
print() is a function but echo is a output statement for
print something......Where echo accept a multiple parameter
and print does not support multiple parameter..............
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
Does https prevent csrf?
How to access a Static Member of a Class in PHP?
Is php faster than python?
Explain the difference between session and cookies in php?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
Explain what is the use of "echo" in php?
What is difference between single quotes and double quotes in php?
What is a php tag?
Is php front end or back end?
When to use single quotes, double quotes, and backticks?
What is difference between print and echo in php?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
How do you execute a php script from the command line?
What are default session time and path?