adspace
Answer Posted / Sukhvir Singh
In PHP, htmlspecialchars() function converts special characters to HTML entities. This is used for displaying user-generated data (like user input) on a webpage to prevent any potential issues caused by those characters such as XSS attacks.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between htmlentities() and htmlspecialchars()?
What is trait in php?
What does $_files means?
List some features of php that are deprecated in php7?
What is the current stable version of php? What advance thing in php7?
sort term descripttion form, report and uery
Which variable declarations within a class is invalid in php?
how to detect a mobile device using php
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
Tell me what kind of things have you done on the social side?
Write a program using while loop?
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain
Name and explain five of the PHP error constants?
What is difference between static and final in php?
Explain me is it possible to destroy a cookie?