1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?

Answer Posted / saurabh kumar

echo is a statement.
while print is a function
we can't print whole array by using echo or print. For this
we have to use the print_r function.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between php and core php?

489


Which is the correct way to check if a session has already been started ?

517


Which are the best start and end tags to use?

574


Where is the functions php in wordpress?

505


What is a static variable in php?

526






What is $_ files in php?

559


How to enable parsing?

612


What are the three parts of an http request?

568


Is PHP an open source software?

574


Write a program to display reverse of any number?

509


Distinguish between urlencode and urldecode?

550


Explain php explode() function.

545


What is mod_php?

561


Describe session in php.

531


How to stop the execution of php script?

522