I have a very simple text input (below) that asks for the users email. I would like to run a PHP check to make sure this really is an email in the format something@something.com. Would this involve the filter validate email function? Also, can I perform this same check in jQuery?
HTML:
<input type='text' id='email' name='email' />
PHP Validation:
For jquery validation you can use this plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/ or you can use javascript function like this.