fbpx
33 C
Lahore

PHP: Array Version of htmlspecialchars() function

htmlspecialchars() function should be used for security reason to echo values from any variable.

But htmlspecialchars() doe’s not work for arrays so following function would help to escape html characters from array values:

- Advertisement -spot_img

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article