how to validate email id in php...please send some code....lydia
something like this perhaps:
$email = "email@example.com";
if (stristr($email, "@") == false || stristr($email, ".") == false)
die("No valid email");
echo("email = valid");
Didn't try it, but it might just work :)
You might want to check for a few more things. Please read the following:
I'm here to ask about margin and position properties with tow example :
the first is a misalignment (vertical --margin-- and horizontal --align-text-- ) of select tag, the ...
I have this code that automatic calculate's the total quantity of the two textbox.
The problem is it only works on the first row and first modal of the table ...
I am working on a payroll project and I am coding with php,html,js and mysql on xampp server. I have a salary sheet code which needs to be printed ...