Skip to content

Instantly share code, notes, and snippets.

@codingwithsara
Last active December 7, 2018 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingwithsara/8f78b7d2c68c561d28e17e29e7f191ad to your computer and use it in GitHub Desktop.
Save codingwithsara/8f78b7d2c68c561d28e17e29e7f191ad to your computer and use it in GitHub Desktop.
PHP お問い合わせフォーム
<!DOCTYPE html>
<html lang="jp">
<head>
<meta charset="utf-8">
<title>お問い合わせフォーム</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-offset-4 col-xs-4">
<h1>お問い合わせ</h1>
<form method="post">
<div class="form-group">
<input type="text" class="form-control" name="name" placeholder="お名前" value="">
</div>
<div class="form-group">
<input type="text" class="form-control" name="email" placeholder="メールアドレス" value="">
</div>
<div class="form-group">
<input type="text" class="form-control" name="subject" placeholder="件名" value="">
</div>
<div class="form-group">
<textarea class="form-control" name="message" rows="5" placeholder="本文"></textarea>
</div>
<button type="submit" class="btn btn-success btn-block">送信</button>
</form>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment