<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1061378" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1061378</link>
    <description></description>
    <language>en</language>
          <item>
    <title>The main two things I see...</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-make-checkbox-info-append-email#comment-1289788</link>
    <description> &lt;p&gt;The main two things I see... &lt;/p&gt;
&lt;p&gt;First one, I&#039;m not sure of, but I think there should be no spaces in the names for the options:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;name=&quot;option[]&quot;&lt;/strong&gt;  instead of &lt;strong&gt;name=&quot;option[ ]&quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Once you have that setup, you will have an array of &lt;strong&gt;$_POST[&#039;option&#039;]&lt;/strong&gt; that will contain the values checked. If you don&#039;t check any checkboxes though, this will NOT exist at all.&lt;/p&gt;
&lt;p&gt;So in your code you need to do  &lt;strong&gt;if ( isset( $_POST[&#039;options&#039;] ) ) { /* process the array */ }&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I was a little bored while watching a movie, and threw &lt;a href=&quot;http://pastebin.com/W3qgHHP0&quot;&gt;this sample&lt;/a&gt; together for you. Note, this is designed to be a single file, form on same page that processes it, and submits to itself.&lt;/p&gt;
&lt;p&gt;The big plus side to that is it will let you know errors on the form, and auto fill in (and check) what was already submitted instead of an unfriendly &quot;Go Back and try again...&quot; type of thing.&lt;/p&gt;
&lt;p&gt;Also since field inputs get repeated (especially if you use this across several forms) I have text inputs and checkbox inputs set up as functions. As you will see, the HTML portion of the code is much cleaner this way.&lt;/p&gt;
&lt;p&gt;PS. just noticed when I looked it over, there is a type on line 63, it should say &lt;strong&gt;None Selected&lt;/strong&gt; instead of &lt;strong&gt;Non Selected&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Jun 2015 12:39:41 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1289788 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
