<?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>westworld: a webmasters best friend &#187; $_POST</title>
	<atom:link href="http://www.westworld.be/tag/_post/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.westworld.be</link>
	<description>A webmasters best friend</description>
	<lastBuildDate>Tue, 22 Nov 2011 10:58:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>unchecked checkbox not in $_POST</title>
		<link>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/</link>
		<comments>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 10:34:11 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[$_POST]]></category>
		<category><![CDATA[checkbox]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=68</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/" title="unchecked checkbox not in $_POST"></a>Iamcam posted a good hack on his blog. It makes your unchecked checkboxes show up in the $_POST on the server. It&#8217;s very simple and doesn&#8217;t need javascript. &#60;input type="hidden" name="box1" value="0" /&#62; &#60;input type="checkbox" name="box1" value="1" /&#62; If the &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/" title="unchecked checkbox not in $_POST"></a><p><a href="http://iamcam.wordpress.com/2008/01/15/unchecked-checkbox-values/" rel="nofollow">Iamcam</a> posted a good hack on his blog. It makes your unchecked checkboxes show up in the $_POST on the server.<br />
It&#8217;s very simple and doesn&#8217;t need javascript.</p>
<p><code>&lt;input type="hidden" name="box1" value="0" /&gt;<br />
&lt;input type="checkbox" name="box1" value="1" /&gt;</code></p>
<p>If the checkbox is not checked then the value of the hidden input is submited, else the value of the checkbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.westworld.be @ 2012-02-06 09:09:15 -->
