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 properties of class?
Explain what does the unset() function means?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
Tell me how do you execute a php script from the command line?
Is php object oriented?
Explain the different types of errors in php.
How to call a php function from html button?
How do http requests work?
Which cryptographic extension provide generation and verification of digital signatures?
What is php key?
What does trim () do in javascript?
What are the methods useful for method overloading?
Is php closing tag necessary?
What is $_ files in php?
How values in arrays are indexed?