multicheckbox_form.html 489 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Multicheckbox Test</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
  6. </head>
  7. <body>
  8. <h1>Multicheckbox Test</h1>
  9. <form method="POST" action="advanced_form_post.php">
  10. <input type="checkbox" name="mail_types[]" checked="checked" value="update"/>
  11. <input type="checkbox" name="mail_types[]" value="spam"/>
  12. <input type="submit" name="submit" value="Register" />
  13. </form>
  14. </body>
  15. </html>