Created
June 13, 2018 11:08
-
-
Save Kazunari-h/999bdfe88e81971e3154d11f331b7ecb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>form</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | |
<style> | |
#nickname, #message, #image { | |
display: block; | |
width: 300px; | |
height: 20px; | |
} | |
input[type=submit] { | |
width: 300px; | |
height: 44px; | |
} | |
</style> | |
</head> | |
<body> | |
<form | |
action="./sample26_bbs.php" | |
method="post" | |
name="form1"> | |
<label for="nickname"> 名前: </label> | |
<input type="text" id="nickname" name="nickname"> | |
<br> | |
<label for="message">メッセージ: </label> | |
<input type="text" id="message" name="msg"> | |
<br> | |
<label for="message">画像URL: </label> | |
<input type="text" id="image" name="imgurl"> | |
<br>- | |
<input type="hidden" name="edit" value="true"> | |
<input | |
type="hidden" | |
name="post_id" | |
value="<?= $_POST["post_id"]?>"> | |
<input type="submit" value="送信"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment