Skip to content

Instantly share code, notes, and snippets.

@taishi41228
Created March 5, 2013 00:44
Show Gist options
  • Save taishi41228/5087063 to your computer and use it in GitHub Desktop.
Save taishi41228/5087063 to your computer and use it in GitHub Desktop.
PHP フォームの取得 ref: http://qiita.com/items/6e4f08aebf88c54e372a
<?php
echo($_POST['text1']);
?>
<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