Yani bir kayıt sayfası tasarımı ve kullanıcı adınızı kontrol ediyorum alfanümerik olduğunu.
else if(!eregi("^([0-9a-z])+$", $subuser)){
$form->setError($field, "* Username not alphanumeric");
I use that to do so. Is there any way I can get that to include underscores (_), dash (-), and spaces? Thanks