Please can anyone help with the PHP inbuilt function to check if the client name is within the email or Gmail he want to Summit | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please can anyone help with the PHP inbuilt function to check if the client name is within the email or Gmail he want to Summit

PHP form validation/submission

25th Aug 2020, 11:07 AM
Adeyemo Rasheed
Adeyemo Rasheed - avatar
2 Answers
0
Where is your attempt please?
25th Aug 2020, 1:27 PM
JaScript
JaScript - avatar
0
$matchname = (explode(" ", $firstname,2 )); If (preg_match ($matchname[1],$email) or preg_match($matchname[0],$email)){ $error.= "Email input doesn't match with your name"; $saveflag =false; } https://www.sololearn.com/discuss/2460420/?ref=app https://www.sololearn.com/discuss/2461933/?ref=app
25th Aug 2020, 2:45 PM
Adeyemo Rasheed
Adeyemo Rasheed - avatar