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 / manpreet
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 ? | 150 Yes | 16 No |
Post New Answer View All Answers
What good is polymorphism?
Is python easier than php?
Tell me how can you pass a variable by reference?
Is salary a ratio or interval?
What are the advantages of oops in php?
How many columns can be added in a table in mysql?
write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
How is a session id generated?
What language is php written in?
What is difference between session_unset and session_destroy?
What’s the special meaning of __sleep and __wakeup?
Is it possible to submit a form with a dedicated button?
Are objects passed by value or by reference?
How can we get ip address of a client in php?