What is the difference between echo and print statement?

Answer Posted / sunil kumar

echo can take multiple parameters but print cannot take
multiple parameters.The range of print is higher than
echo.Generally we use echo to print string data

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an array of a group of items inside an html form?

579


What language is php based on?

498


Where is the functions php in wordpress?

517


What is var_dump function in php?

544


What is the use of token in php?

508






How to remove blank spaces from the string?

539


How to remove duplicate values from a PHP Array?

547


What is include in php?

548


Explain how to submit form without a submit button.

545


What is mean by an associative array?

539


What is the difference between echo print and print_r in php?

521


Is multiple inheritance supported in php?

569


How do you pass a variable by value in php?

546


Tell me what is htaccess?

493


How to delete cookie files on your computer?

555