Answers

Question and Answer:

  Home  Jnr PHP/Codeigniter Developer

⟩ Explain echo vs. print statement?

echo() and print() are functions in PHP, both output strings. Function echo() can take multiple expressions whereas print() cannot. Moreover print() returns true or false based on success or failure whereas echo doesn't.

 212 views

More Questions for you: