Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

43 lines (39 sloc) 840 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PHP form submission example</title>
<style>
form {
width: 420px;
}
div {
margin-bottom: 20px;
}
label {
display: inline-block;
width: 240px;
text-align: right;
padding-right: 10px;
}
button, input {
float: right;
}
</style>
</head>
<body>
<form method="post" action="php-example.php">
<div>
<label for="say">What greeting do you want to say?</label>
<input name="say" id="say" value="Hi">
</div>
<div>
<label for="to">Who do you want to say it to?</label>
<input name="to" value="Mom">
</div>
<div>
<button>Send my greetings</button>
</div>
</form>
</body>
</html>
You can’t perform that action at this time.