Reply to thread

What I want here is kind of like an anti-spam check


so I want to check a string for the amount of @ within it.


So if PHP finds 1 @ it does nothing and if it finds 2 or more it reports an error.


so


example@yahoo.com, example2@gmail.com


the above would return an error but


example@yahoo.com


would be ok


How would I do this.

Thanks


Back
Top