A simple way to validate an html input form against a php array