What is the Diff. Between echo() and Print() in PHP?
Answer Posted / sreedevi
print is a construct but it returns True on success
outputr False if it was unable to print the output string
echo is faster comparing with print .
print doesnot takes multiple parameters
| Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
How to get the total number of values in an array?
How does api connect to database?
What is mysql_fetch_row?
What is difference between count or sizeof function in php?
What is compact function php?
How do I see how many pages per session in google analytics?
What is session and why do we use it?
How do you clear environment variables?
How can we access the data sent through the url with the get method?
What is php in full?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
What is difference between static and constant in php?
Could we start a variable with number like $4name?
How to set a page as a home page in a php based site?
When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?