Welcome Guest, Not a member yet? Register   Sign In
Is there a bug with Class Validation ?
#2

[eluser]bigbusty[/eluser]
I'm not sure if thats the right answer but i think that whitespace is not considered alpha.

I've looked into the alpha function
Code:
return ( ! preg_match("/^([a-z])+$/i", $str)) ? FALSE : TRUE;

This method returns false, if there's whitespace in your string.


Messages In This Thread
Is there a bug with Class Validation ? - by El Forum - 01-06-2013, 01:00 AM
Is there a bug with Class Validation ? - by El Forum - 01-06-2013, 02:36 AM
Is there a bug with Class Validation ? - by El Forum - 01-06-2013, 08:24 AM
Is there a bug with Class Validation ? - by El Forum - 01-06-2013, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB