eh0t (eh0t) wrote in code_wtf,
eh0t
eh0t
code_wtf

Проверка пола пользователя по данным из формы профиля

if ($_POST['gender'] == 'Мужщина' ) $gender = 'mr'; else $gender = 'ms';
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 8 comments