Created
March 5, 2013 00:44
-
-
Save taishi41228/5087063 to your computer and use it in GitHub Desktop.
PHP フォームの取得 ref: http://qiita.com/items/6e4f08aebf88c54e372a
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
<?php | |
echo($_POST['text1']); | |
?> |
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
<form action="action.php" method="post" accept-charset="utf-8"> | |
<label for="text1">テキスト: </label> | |
<input id="text1" type="text" name="text1" value="こんにちは"><br> | |
<input id="sub" type="submit" name="send" value="送信"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment