Hi there!
I want to do a htmlspecialchars over each value in the $_POST array after posting a form. I came up with this:
foreach($_POST as $key => $value)
{
$value = htmlspecialchars($value, ENT_QUOTES);
}
But it doesn't seem to work. I know that it might be stupid, but does someone know what I'm doing wrong?
Thanks in advance!