A
account8226
Guest
Hello,
I am trying to validate one of my fields. In my datawritter I am calling a validating function, that call a method 'validate' in my model.
Why is that not working ? It's always returning false...
I am trying to validate one of my fields. In my datawritter I am calling a validating function, that call a method 'validate' in my model.
PHP:
if (preg_match('/[^a-zA-Z0-9_]/', $username)) return false;
Why is that not working ? It's always returning false...