email_valid

  1. cute.bandar

    unable to validate email address in php

    This should work, but I just can't figure out what wrong here. HOping that there is something simple I am missing function email_valid ($email) { if (preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email))...
Top Bottom