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:
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: