im writing a script with a form and i want to write a piece of code that will check for a valid email address using php programming, but i am not very familiar with the syntax, i was wondering if you guys can help me figure out how i can write a snippet of a function which verifies and confirms that the email address entered by a user on an HTML form is correct and valid. so basically i need a PHP email vadliation function i can use.