<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: How to store input from checkboxes into MySQL using PHP?</title> <atom:link href="http://www.findistore.com/how-to-store-input-from-checkboxes-into-mysql-using-php/feed" rel="self" type="application/rss+xml" /><link>http://www.findistore.com/how-to-store-input-from-checkboxes-into-mysql-using-php</link> <description>We are Professional Web Designer. We specialize in Website Design &#38; eCommerce Web Services</description> <lastBuildDate>Wed, 12 Oct 2011 00:03:14 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: just &#34;JR&#34;</title><link>http://www.findistore.com/how-to-store-input-from-checkboxes-into-mysql-using-php/comment-page-1#comment-1291</link> <dc:creator>just &#34;JR&#34;</dc:creator> <pubDate>Sat, 28 Feb 2009 08:34:12 +0000</pubDate> <guid
isPermaLink="false">http://www.findistore.com/how-to-store-input-from-checkboxes-into-mysql-using-php#comment-1291</guid> <description>You can&#039;t check checkboxes in Php, but you can set values in javascript that will be passed to Php:
the form:
function js_check(theForm)
{
if (theForm.elements[&#039;checkbox1&#039;].checked)
theForm.elements[&#039;phpbox1&#039;].value = 1;
if (theForm.elements[&#039;checkbox2&#039;].checked)
theForm.elements[&#039;phpbox2&#039;].value = 1;
}
Your receiving Php script reads phpbox#. If set to 1, then box is checked. </description> <content:encoded><![CDATA[<p>You can&#8217;t check checkboxes in Php, but you can set values in javascript that will be passed to Php:<br
/> the form:</p><p>function js_check(theForm)<br
/> {<br
/> if (theForm.elements['checkbox1'].checked)<br
/> theForm.elements['phpbox1'].value = 1;<br
/> if (theForm.elements['checkbox2'].checked)<br
/> theForm.elements['phpbox2'].value = 1;<br
/> }<br
/> Your receiving Php script reads phpbox#. If set to 1, then box is checked.</p> ]]></content:encoded> </item> </channel> </rss>
