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 does cookies work in php?
What is global array in php?
What are the different data types in javascript?
Tell me what is needed to be able to use image function?
Is php good for career?
Which Scripting Engine PHP uses?
How to uploaded files to a table?
How to read one character from a file?
What is the difference between == and === in php?
Do you know what is use of count() function in php?
Tell me how to create a text file in php?
When sessions ends?
How do I get csrf token?
List some array functions in php?
Why do we use hooks?