Sr. PHP Programmer Question:
Download Questions PDF

What is the use of the function htmlentities?

Answer:

htmlentities Convert all applicable characters to HTML entities This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?What is the difference between $_GET and $_POST?