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
What is the meaning of xdebug?
Which is faster for or foreach php?
Tools used for drawing er diagrams?
write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.
Tell me how to find the position of the first occurrence of a substring in a string?
How will you calculate days between two dates in PHP?
Is empty java?
How does php work?
What is the Pipe Symbol represented?
What is whitespace in html?
What is sorting php?
What is 'float' property in css?
Write a program to find a string is palindrome or not?
What is a php class?
Can php run without server?