Hi Guys!
In my script I am trying to find multiple illegal characters within a string, i have tried strpos() with no joy, and I can't seem to get my head around preg_match().
I only want to allow a-Z and 0-9, and disallow all other characters, if characters are found then $validationResult is set to false, meaning it adds an error message to $validationReason.
Any ideas guys?
Cheers 🆒