Jump to content

Регистрация і ї СпецЗнаки


Recommended Posts

//Проверка имени
            if(preg_match("/^[_'a-zA-Z0-9а-яА-ЯёЁіІїЇ]+$/iu", $user_name) AND strlen($user_name) >= 2) $errors[] = 0;
            
            //Проверка фамилии
            if(preg_match("/^[_'a-zA-Z0-9а-яА-ЯёЁіІїЇ]+$/iu", $user_lastname) AND strlen($user_lastname) >= 2) $errors[] = 0;    

  • Like 1
Link to comment
Share on other sites

В 24.12.2018 в 15:31, PHPSocial сказал:

//Проверка имени
            if(preg_match("/^[_'a-zA-Z0-9а-яА-ЯёЁіІїЇ]+$/iu", $user_name) AND strlen($user_name) >= 2) $errors[] = 0;
            
            //Проверка фамилии
            if(preg_match("/^[_'a-zA-Z0-9а-яА-ЯёЁіІїЇ]+$/iu", $user_lastname) AND strlen($user_lastname) >= 2) $errors[] = 0;    

Зделал, но теперь кнопка регистрация неработает

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...