What is the Diff. Between echo() and Print() in PHP?
Answer Posted / binoyav
In answer #10 the following section is wrong
"
echo evaluate the string before send the output just like this
$a=10
echo "Value is $a"
output:- Value is 10
print 'Value is $a'
output:- Value is $a "
If we give double quotes instead of single quote this will work.
Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
How cookies are transported from servers to browsers?
What is the difference between core php and php?
Require_once(), require(), include(). What is difference between them?
Which of the delimiter is ASP style?
What are the different errors in php?
What is isset in php?
What is the apache?
What is form submission?
What is use of count() function in php?
What is final class and final method?
how to detect a mobile device using php
What is the timeout period on session values?
How check submit button is clicked in php?
How check variable is set or not in php?
What is difference between mysqli and mysql?