Loop through any filter defined in the form array to sanitise inputs

Warning on '/forum' htmlspecialchars() argument 1 should be a string, array given.