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
What is multidimensional array in php?
Is php an api?
How long should a session last?
What are super global variables in php?
What are soundex() and metaphone() functions in php?
What is the actually used php version?
What happens when submit button is clicked?
How to merge values of two arrays into a single array?
How to reset/destroy a cookie?
What is the meaning of a persistent cookie?
What is an example of a variable?
How to create database connection and query in php?
/temp is a type of filesystem directory. State Whether True or False?
How big is varchar max?
How to create a mysql connection?