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 / mahesh
echo is a statement where print_r,print are the functions
all prints the variable result..
If the variable is an Array, then Print_r will prints the
array in details (Array[0]-> " the array values")...
where as the other two(echo and print) only prints as ARRAY().
| Is This Answer Correct ? | 47 Yes | 8 No |
Post New Answer View All Answers
What types of MYSQL function available for affecting columns
Tell us how can we access the data sent through the url with the post method?
Why php is used in html?
Which framework is best for php?
What is a php trait?
How will you calculate days between two dates in PHP?
What is session_register()?
What is the use of anonymous function in php?
What is class extend in php?
What is the difference between characters 34 and x34?
Can php variables have numbers?
How to select a database?
Tell me what is the use of mysql_real_escape_string() function?
How can cross site request forgery csrf be prevented?
How send email in php?