Jump to content

Search the Community

Showing results for tags 'php. форма'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 1 result

  1. Добрый день товарищи , я начинающий, подскажите пожалуйста как сделать так , чтобы в сообщении получить информацию о выборе из поля checkbox и radio, и чтобы при не полном заполнении формы она появлялась вновь, с тем что было заполнено в первый раз с сообщением "Пожалуйста заполните корректно все поля ввода." Я кое что набросал: <body><?php if(isset($_POST["OK"])) {$fio2=$_POST["fio"]; $email2=$_POST["email"]; $pass2=$_POST["pass"]; $msg="Ф.И.О:".$fio2."email:".$email2."пароль:".$pass2."О себе:".$about; mail("test@mail.ru","Обращение с сайта",$msg); echo "<b class=\"letter\">Письмо отправлено</b>";} else{?> <form id="form" method="post" > <legend><span class="span1">Имя пользователя:<input name="fio" class="input1" type="text"/></span></legend> <legend><span class="span2">Адрес email:<input name="email" class="input2" type="text"/></span></legend> <legend><span class="span3">Придумайте пароль:<input name="pass" input class="input3" type="password"/></span></legend> <legend><span class="span4">Повторите пароль:<input name="pass" class="input4" type="password"/></span></legend> <legend><span class="span5">Расскажите о себе:<textarea name="about" class="textarea" cols="40" rows="4"></textarea></span></legend> <span class="span6">Выберите ваш возраст:</span> <fieldset class="fieldset"><label class="label">до 25<input name="age" type="radio" value="aaa1"/></label> <label class="label">25-45<input name="age" type="radio" value="bbb1"/></label> <label class="label">более 45<input name="age" type="radio" value="ccc1"/></fieldset></label> <label class="label"><span span class="span7"><input name="lisense" value="aaa" type="checkbox"/>Я принимаю Лицензионное соглашение</span></label> <label class="label"><span span class="span8"><input name="lisense" value="bbb" type="checkbox"/>Я принимаю Лицензионное соглашение</span></label> <input class="submit" name="OK" type="submit" value="Продолжить регистрацию"/> </form><?php }?> </body>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy