Skip to content

Instantly share code, notes, and snippets.

Created Oct 14, 2019
What would you like to do?
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Add new person</title>
<form method="post" action="add.php">
<label for="first_name">Name:</label>
<input name="first_name" required type="text" id="first_name"
placeholder="First name">
<label for="last_name">Last name:</label>
<input name="last_name" required type="text" id="last_name"
placeholder="Last name">
<label for="gender">Gender</label>
<select name="gender" required name="gender" id="gender">
<option value="">--Please select--</option>
<option value="M">Male</option>
<option value="F">Female</option>
<br><br><input type="submit" value="Save">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment