|
Does anyone have any function to check wether a value input from a form are consict of email. I mean, like if you enter 'abc@wtv.com', it will return true but if you enter 'abc' or 'abc.com' or 'abc@wtv', it will return false.
I don't think anyone has it, but can anyone help me in at least give me the pseudocode for this. Thank you.
__________________
$id ="waxxer";
$id = str_replace('x', 'l', $id);
echo $id;
echo " and Marj";
|