hi,
how to validate email id in php...please send some code....lydia
lydia21 9 Junior Poster
Recommended Answers
Jump to Posthi,
how to validate email id in php...please send some code....lydiasomething like this perhaps:
$email = "a@b.c"; if (stristr($email, "@") == false || stristr($email, ".") == false) { die("No valid email"); } else { echo("email = valid"); }
Didn't try it, but it might just work …
All 2 Replies
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
hopalongcassidy 35 Junior Poster
iamthwee commented: Makes for very interesting reading! +13
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.