I am working on getting my email form validated. The user has to write an email containing "@", ".", "dk or com or org or net", but I cant get it to work.
I am using the strstr function and I understand that writing only "dk" well not work.
Expand|Select|Wrap|Line Numbers
- if (strstr($email, "@") && strstr($email, ".") && strstr($email, "dk"))