What is the Diff. Between echo() and Print() in PHP?
Answer Posted / ramesh kumar jayaraman
In Php echo is a statement..it doesn't return any
value...And It is faster
because it does not return any value, but print which
always returns 1 and 0.
The print acts like a function and it can be used in complex
expressions.
but echo can not be used in this way.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Write a php function to convert all null values to blank?
How to reset/destroy a cookie in php?
What type of operation is needed when passing values through a form or an url?
How can we connect to a mysql database from a php script?
What is pdo in php why use?
How can I embed a java program in php file and what changes have to be done in php.ini file?
Can the value of a constant change during the script's execution?
What is an array in php?
What is meant by PEAR in PHP?
How can you retrieve data from the mysql database using php?
What is preg_match?
How arrays are used in php?
What is session in php w3schools?
What are the two main string operators?
What is the purpose of the php empty function?