<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHPやわらか入門++（仮称） &#187; 覚え書き</title>
	<atom:link href="http://php.wpwpwpwp.com/cat/%e8%a6%9a%e3%81%88%e6%9b%b8%e3%81%8d/feed" rel="self" type="application/rss+xml" />
	<link>http://php.wpwpwpwp.com</link>
	<description>わかりやすすぎるPHP入門サイト</description>
	<lastBuildDate>Fri, 13 May 2011 20:00:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>フォーム(入力編)</title>
		<link>http://php.wpwpwpwp.com/php3.html</link>
		<comments>http://php.wpwpwpwp.com/php3.html#comments</comments>
		<pubDate>Tue, 20 Jan 2009 14:49:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[覚え書き]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[value]]></category>
		<category><![CDATA[フォーム]]></category>

		<guid isPermaLink="false">http://php.wpwpwpwp.com/?p=3</guid>
		<description><![CDATA[
本を見てフォームを作ってみた。

今回は、その入力フォームのHTMLファイル。



form.html


&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD HTML 4.01 T [...]]]></description>
			<content:encoded><![CDATA[<p>
本を見てフォームを作ってみた。<br />
<br />
今回は、その入力フォームのHTMLファイル。<br />
<br />
<span id="more-3"></span><br />
<br />
form.html<br />
<hr /><br />
<pre class="brush: xml;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;<br />
&lt;html lang=&quot;ja&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot;content=&quot;text/html; charset=utf-8&quot;&gt;<br />
&lt;title&gt;アンケートフォーム&lt;/title&gt;<br />
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://phpphp.wpwpwpwp.com/style.css&quot;&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form action=&quot;form.php&quot; method=&quot;POST&quot;&gt;<br />
姓&lt;input type=&quot;text&quot; name=&quot;lastname&quot;&gt;&lt;br&gt;<br />
名&lt;input type=&quot;text&quot; name=&quot;firstname&quot;&gt;&lt;br&gt;<br />
性別<br />
&lt;input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;男&quot;&gt;男<br />
&lt;input type=&quot;radio&quot; name=&quot;sex&quot; value=&quot;女&quot; checked&gt;女<br />
&lt;br&gt;<br />
&lt;input type=&quot;submit&quot; value=&quot;送信&quot;&gt;<br />
&lt;/form&gt;<br />
<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</pre>
<hr /><br />
<br />
<br />
<h3>覚え書き</h3>
<br />
・フォームはformタグで囲む。<br />
・formタグのaction属性は、送信先のファイル。<br />
・formタグのmethod属性は、とりあえずPOSTで。<br />
・POSTは、郵便のポストと同じ意味だね。投函する感じ。<br />
・inputタグは、それぞれのパーツごとに。<br />
・inputタグのtype属性は、フォームパーツの種類。<br />
・inputタグのname属性は、識別のための名前。送信先でも使用。これでデータを特定する。<br />
・inputタグのvalue属性は、パーツに初期表示するテキストだったり、送信する内容だったりする。フォームパーツの種類による。<br />
・inputタグの送信ボタン(type=&#8221;submit&#8221;)は必ずいるよね^^<br />
<br />
<br />
これで、HTMLからのフォーム送信は完璧だな(笑)</p>
]]></content:encoded>
			<wfw:commentRss>http://php.wpwpwpwp.com/php3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

