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 / haranath reddy
Echo is a statement used to diplay the data where as print
and print_r are the functions which can perform
tasks.print_r can perform the rotaions in a loop like for
statement.
Pirnt_r Especially used for structures like arrays and
classes.
| Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
What is difference between variable declaration and variable definition?
Where are php configuration settings stored?
Explain me what are the 3 scope levels available in php and how would you define them?
What is the difference between Session and Cookie?
How to delete an element from an array?
How to create an array from php string?
What type of comments are supported by PHP.
How to check your php installation?
Which php framework is best for security?
List types of array are available in php?
Define metaphone()?
What is stdclass in php?
What is the difference between apache and tomcat?
What is a php trait?