Falah Al Fitri
Posted on December 14, 2019
Happy Coding
We will create form with type checkbox input:
<form method="post" action="process.php" >
Firstname: <input type="text" name="firstname" />
<br />
Lastname: <input type="text" name="lastname" />
<br />
Description: <textarea name="description" rows="10" cols="50"></textarea>
<br />
Add input type checkbox:
Hobby: <input type="checkbox" name="hobby"
<br />
<hr />
<input type="submit" name="submit" value="Submit" />
</form>
And, the process:
echo "<pre>";
var_dump($_POST);
💖 💪 🙅 🚩
Falah Al Fitri
Posted on December 14, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
100daysofmiva Developing my Personal Website || HTML, JavaScript, jQuery and AJAX Integration
September 9, 2024