2

validateusername

validate_user_name
SYNOPSIS

validate_user_name($name)

DESCRIPTION
CODE
  1. function validate_user_name($name) {
  2.     return preg_match('/^[a-z]{2,20}$/', $name);
  3. }

Comments

To add a comment, click here.