Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
frontend
html
examples
forms
05checkbox_form.html
05checkbox_form.html
<!DOCTYPE HTML> <html lang="hr"> <head> <meta charset="UTF-8"> <title>Checkbox to PHP</title> </head> <body> <form action="05checkbox_script.php" method="POST" enctype="application/x-www-form-urlencoded"> I want to buy: <br><input type="checkbox" name="fruit1" value="apples"> APPLES <br><input type="checkbox" name="fruit2" value="oranges" checked> ORANGES <br><input type="checkbox" name="fruit3" value="bananas"> BANANAS <br><br> <input type="submit" value="Send"> </form> </body> </html>
Reload page
Preview
W3C validation
Edit Code