What is htmlspecialchars?



What is htmlspecialchars?..

Answer / Rinku Sharma

In PHP, htmlspecialchars() is a built-in function that converts special characters to HTML entities to prevent any unwanted behavior or possible security issues.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How can I convert ereg expressions to preg in php?

1 Answers  


What is whitespace in php?

1 Answers  


What is difference between strstr() and stristr() in PHP?

1 Answers  


What are escaping characters?

1 Answers  


How can php and html interact?

1 Answers  


how can we retrive value from one database server and store them another database server using php?

3 Answers  


Explain me what are the main error types in php and how do they differ?

1 Answers  


Where to put php files in apache server?

1 Answers  


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

1 Answers  


What is php destruct?

1 Answers  


What is singleton class in php?

1 Answers  


Is php secure?

1 Answers  


Categories