What is the difference between echo and print statement?
Answer Posted / santha
s there any difference between print and echo in PHP? If so, which should I use and when? If not, why are there two keywords?
UPDATE :
At the downvoters : please read the SO faq. SO was setup also to capture googleable questions. so you shouldn't downvote for that, this question is a valid question, answered on a lot of places and now on SO too.
Of course you can downvote for another reason, but please leave a comment in the lines of -1 : downvoted for .. , cause for now, I'm not understanding the downvotes.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the importance of the function htmlentities.
What is laracast?
What is the use of is_array() and in_array()?
What is the difference between explode and split?
How escape single quotes php?
How do I run php?
What is php explain how php works?
What are the uses of explode() function?
Which is variable cost?
What is encapsulation in php?
How can we change the maximum size of the files to be uploaded?
What does mysqli_query return?
Which method removes the last element from the end of an array?
When should you use a stored procedure?
Is laravel better than codeigniter?