Code for validating email in php