PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
My string with spaces are failing at the moment while being verified with ctype_alpha, ctype_digit & ctype_alnum. Is there any way to stop them failing or an alternative way to validate data, not using regex as I'm not great with regex.
I believe they do not accept spaces. You could get around this by filtering first (e.g. str_replace() or preg_replace()). If you want regexp help this is a great place to ask.