| Here is a Simple PHP function to check valid Email Addresses. The function accepts Email string trims it check whether it satisfies the Email format. if it satisfies then return TRUE else FALSE. Scroll down for the function. | |
| function validateEmail( $strEmail ){ $strEmail=trim($strEmail); if( $strEmail!="" ){ $pattern="/^([a-z0-9_\.]+)@([a-z0-9_\-\.]+)\.([a-z]{2,3})$/i"; if( preg_match($pattern,$strEmail,$match) ){ return TRUE; }else FALSE; }else return TRUE; } How to use this function? $myEmail=$_POST['txt_email']; if validateEmail( $myEmail ) echo("VALID EMAIL"); else echo("YOU ENTERED AN INVALID EMAIL."); Hope thi shelp someone... :) | |
Intex Aqua 5.5 VR Plus genuine Review - Dont Buy Intex Aqua 5.5 VR Plus - Board complaint and low battery backup issues
Intex Aqua 5.5 VR Plus Review - Dont Buy Intex Aqua 5.5 VR + - Board complaint and low battery backup issues I bought an Intex Aqua 5.5 VR Plus on April 23, 2018, With in a week it started to show Battery backup issues. Even if it is charged full, it will completely drain out with in 12 or 13 hours. During this time No internet was used, only 2 or 3 calls were done. Some times there was issues with net connection also.

Comments
Post a Comment