<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1045234" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1045234</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Hi, that&#039;s fine and i suggest</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/check-box-php#comment-1250773</link>
    <description> &lt;p&gt;Hi, that&#039;s fine and i suggest you jut &quot;visit w3schools.com&quot;, for more help.&lt;/p&gt;
 </description>
     <pubDate>Thu, 08 Jul 2010 07:21:04 +0000</pubDate>
 <dc:creator>sandeep Kumar</dc:creator>
 <guid isPermaLink="false">comment 1250773 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>if you find arrays difficult</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/check-box-php#comment-1248582</link>
    <description> &lt;p&gt;if you find arrays difficult to handle, then you should not use the names as you used in your script. Instead try the following:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;amex&amp;quot; value=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amex&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;diners&amp;quot; value=&amp;quot;yes&amp;quot;/&amp;gt; &lt;br /&gt;Diners&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;debit_card&amp;quot; value=&amp;quot;yes&amp;quot; /&amp;gt; &lt;br /&gt;Debit Card &amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;mastercard&amp;quot; value=&amp;quot;yes&amp;quot; /&amp;gt; &lt;br /&gt;Mastercard&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;none&amp;quot; value=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;None&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;label&amp;gt;&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;visa&amp;quot; value=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;Visa&amp;lt;/label&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Although in this case you will need to do it manually. If you can post here more details and the whole script, we will be in a better position to help you solve this problem.&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Apr 2010 19:25:24 +0000</pubDate>
 <dc:creator>hamdusa</dc:creator>
 <guid isPermaLink="false">comment 1248582 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>avido wrote:My best guess is</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/check-box-php#comment-1247787</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;avido&lt;/em&gt; wrote:&lt;/div&gt;My best guess is you&#039;re using the same name for every checkbox&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;For using checkboxes with PHP, this IS what you need to do so that when it goes back to PHP, gets converted over to array. (the suare brackets are required too).&lt;/p&gt;
&lt;p&gt;I starts putting together a sample form to demonstrate it, well it balloned into a full &quot;contact us&quot; tutorial/sample. See it here: &lt;a href=&quot;http://www.webmaster-forums.net/web-programming-and-application-development/sample-php-form-mailer&quot; title=&quot;http://www.webmaster-forums.net/web-programming-and-application-development/sample-php-form-mailer&quot;&gt;http://www.webmaster-forums.net/web-programming-and-application-developm...&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 Mar 2010 20:28:00 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1247787 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Alternatively to what avido</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/check-box-php#comment-1247773</link>
    <description> &lt;p&gt;Alternatively to what avido wrote, you might also simply expand the checkbox array with a loop (say foreach $chk[] as $value) and get the checked values from there. Don&#039;t forget to name your checkbox accordingly though, using the square brackets in your submit form.&lt;/p&gt;
 </description>
     <pubDate>Sat, 13 Mar 2010 00:02:32 +0000</pubDate>
 <dc:creator>bigmax</dc:creator>
 <guid isPermaLink="false">comment 1247773 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>My best guess is you&#039;re using</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/check-box-php#comment-1247718</link>
    <description> &lt;p&gt;My best guess is you&#039;re using the same name for every checkbox..&lt;br /&gt;
just change the names of the checkboxes and you&#039;ll be fine.&lt;br /&gt;
You&#039;ll receive it in your email probably like (for example) visa=checked&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Mar 2010 14:49:22 +0000</pubDate>
 <dc:creator>avido</dc:creator>
 <guid isPermaLink="false">comment 1247718 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
