What is the Diff. Between echo() and Print() in PHP?

Answer Posted / ajeet singh

Ajeet: echo can take multiple expressions but print can take
only one

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find datatype of variable in php?

732


What is the correct php command to use to catch any error messages within the code?

824


Declare a new variable in php equal to the number 3;

710


Does wordpress still use php?

742


What is singleton pattern in php?

672


What is the use of header() function in php?

750


What kind of things have you done on the social side?

8783


What are the main error types in php and how do they differ?

1054


Is it possible to use com component in php?

740


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

906


Do you know what's the difference between __sleep and __wakeup?

761


How to submit form without a submit button.

747


What is move_uploaded_file in php?

754


Which operator is used to concatenate two strings in PHP?

777


Tell me what is the actually used php version?

753