<?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 Validate a Form Using PHP Part 2: Streamline Using Arrays</title> <atom:link href="http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/feed/" rel="self" type="application/rss+xml" /><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/</link> <description>Web Design, Development, and Business</description> <lastBuildDate>Sat, 31 Jul 2010 11:31:07 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>By: Greg</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-14540</link> <dc:creator>Greg</dc:creator> <pubDate>Thu, 29 Jul 2010 10:16:23 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-14540</guid> <description>I am sorry, but your blog handles very bad meta characters and tags. i hope you can delete the posts and edit the code accordingly. It is pretty funny especially that you advise using htmlentities, but you&#039;re not using it yourself, at least not here. :P</description> <content:encoded><![CDATA[<p>I am sorry, but your blog handles very bad meta characters and tags. i hope you can delete the posts and edit the code accordingly. It is pretty funny especially that you advise using htmlentities, but you&#8217;re not using it yourself, at least not here. :P</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-14539</link> <dc:creator>Greg</dc:creator> <pubDate>Thu, 29 Jul 2010 10:12:44 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-14539</guid> <description>That  $errors[] = $field;  is better than array_push($errors, $field);  is undoubtedly.  You should change the script accordingly.
What I do not understand is why  $temp = is_array($value) ? $value : trim($value);  ? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.I understand that it&#039;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &quot;checkboxes&quot; or (some) &quot;select&quot; fields. For example this one:
I know PHP
I know JavaScriptNow if you want to use an array you can write something like this:I know PHP
I know JavaScriptNow the fun begins as you may want to check both:
$_POST[&#039;programminglanguages&#039;][0] and
$_POST[&#039;programminglanguages&#039;][1].At this point the $_POST[&#039;programminglanguages&#039;] is indeed an array, but your code mentioned above makes no sense.Nevertheless, a good starting point. Congrats.</description> <content:encoded><![CDATA[<p>That  $errors[] = $field;  is better than array_push($errors, $field);  is undoubtedly.  You should change the script accordingly.<br
/> What I do not understand is why  $temp = is_array($value) ? $value : trim($value);  ? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.</p><p>I understand that it&#8217;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &#8220;checkboxes&#8221; or (some) &#8220;select&#8221; fields. For example this one:<br
/> I know PHP<br
/> I know JavaScript</p><p>Now if you want to use an array you can write something like this:</p><p> I know PHP<br
/> I know JavaScript</p><p>Now the fun begins as you may want to check both:<br
/> $_POST['programminglanguages'][0] and<br
/> $_POST['programminglanguages'][1].</p><p>At this point the $_POST['programminglanguages'] is indeed an array, but your code mentioned above makes no sense.</p><p>Nevertheless, a good starting point. Congrats.</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-14538</link> <dc:creator>Greg</dc:creator> <pubDate>Thu, 29 Jul 2010 10:11:21 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-14538</guid> <description>That &lt;  &gt; is better than &lt;  &gt; is undoubtedly.  You should change the script accordingly.
What I do not understand is why &lt;  &gt; ? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.I understand that it&#039;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &quot;checkboxes&quot; or (some) &quot;select&quot; fields. For example this one:
I know PHP
I know JavaScriptNow if you want to use an array you can write something like this:I know PHP
I know JavaScriptNow the fun begins as you may want to check both:
$_POST[&#039;programminglanguages&#039;][0] and
$_POST[&#039;programminglanguages&#039;][1].At this point the $_POST[&#039;programminglanguages&#039;] is indeed an array, but your code mentioned above makes no sense.Nevertheless, a good starting point. Congrats.</description> <content:encoded><![CDATA[<p>That &lt;  &gt; is better than &lt;  &gt; is undoubtedly.  You should change the script accordingly.<br
/> What I do not understand is why &lt;  &gt; ? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.</p><p>I understand that it&#8217;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &#8220;checkboxes&#8221; or (some) &#8220;select&#8221; fields. For example this one:<br
/> I know PHP<br
/> I know JavaScript</p><p>Now if you want to use an array you can write something like this:</p><p> I know PHP<br
/> I know JavaScript</p><p>Now the fun begins as you may want to check both:<br
/> $_POST['programminglanguages'][0] and<br
/> $_POST['programminglanguages'][1].</p><p>At this point the $_POST['programminglanguages'] is indeed an array, but your code mentioned above makes no sense.</p><p>Nevertheless, a good starting point. Congrats.</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-14537</link> <dc:creator>Greg</dc:creator> <pubDate>Thu, 29 Jul 2010 10:09:37 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-14537</guid> <description>That &lt;&gt; is better than &lt;&gt; is undoubtedly.  You should change the script accordingly.
What I do not understand is why &lt;&gt;? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.I understand that it&#039;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &quot;checkboxes&quot; or (some) &quot;select&quot; fields. For example this one:
I know PHP
I know JavaScriptNow if you want to use an array you can write something like this:I know PHP
I know JavaScriptNow the fun begins as you may want to check both:
$_POST[&#039;programminglanguages&#039;][0] and
$_POST[&#039;programminglanguages&#039;][1].At this point the $_POST[&#039;programminglanguages&#039;] is indeed an array, but your code mentioned above makes no sense.Nevertheless, a good starting point. Congrats.</description> <content:encoded><![CDATA[<p>That &lt;&gt; is better than &lt;&gt; is undoubtedly.  You should change the script accordingly.<br
/> What I do not understand is why &lt;&gt;? This really makes no sense at all. What it bothers me is that it makes no sense even if the posted value is indeed an array.</p><p>I understand that it&#8217;s beyond the purpose of this tutorial the problem of multiple selection as in the case of &#8220;checkboxes&#8221; or (some) &#8220;select&#8221; fields. For example this one:<br
/> I know PHP<br
/> I know JavaScript</p><p>Now if you want to use an array you can write something like this:</p><p> I know PHP<br
/> I know JavaScript</p><p>Now the fun begins as you may want to check both:<br
/> $_POST['programminglanguages'][0] and<br
/> $_POST['programminglanguages'][1].</p><p>At this point the $_POST['programminglanguages'] is indeed an array, but your code mentioned above makes no sense.</p><p>Nevertheless, a good starting point. Congrats.</p> ]]></content:encoded> </item> <item><title>By: Lionel okeke</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-13828</link> <dc:creator>Lionel okeke</dc:creator> <pubDate>Mon, 14 Jun 2010 00:59:57 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-13828</guid> <description>hi you guys lovely tutorials but i need you help on validating radio butttons with php and send the values to mysql database, that would be lovely, thanks you guyz</description> <content:encoded><![CDATA[<p>hi you guys lovely tutorials but i need you help on validating radio butttons with php and send the values to mysql database, that would be lovely, thanks you guyz</p> ]]></content:encoded> </item> <item><title>By: tutorials with php and jquery &#171; Design Define&#39;s Blog</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-13213</link> <dc:creator>tutorials with php and jquery &#171; Design Define&#39;s Blog</dc:creator> <pubDate>Mon, 03 May 2010 02:09:58 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-13213</guid> <description>[...] How to Validate a Form Using PHP Part 2: Streamline Using Arrays [...]</description> <content:encoded><![CDATA[<p>[...] How to Validate a Form Using PHP Part 2: Streamline Using Arrays [...]</p> ]]></content:encoded> </item> <item><title>By: Sinan</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-10314</link> <dc:creator>Sinan</dc:creator> <pubDate>Sun, 20 Dec 2009 04:49:27 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-10314</guid> <description>OPS ! my code is gone :)
@AdhamBecause you can, like this:input name=”options[]” type=”text”then when the form is submitted, $_POST[&#039;options&#039;] will be already an array ;) . Let the fun begin</description> <content:encoded><![CDATA[<p>OPS ! my code is gone :)<br
/> @Adham</p><p>Because you can, like this:</p><p>input name=”options[]” type=”text”</p><p>then when the form is submitted, $_POST['options'] will be already an array ;) . Let the fun begin</p> ]]></content:encoded> </item> <item><title>By: Sinan</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-10313</link> <dc:creator>Sinan</dc:creator> <pubDate>Sun, 20 Dec 2009 04:47:45 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-10313</guid> <description>@AdhamBecause you can, like this:then when the form is submitted, $_POST[&#039;options&#039;] will be already an array ;) . Let the fun begin</description> <content:encoded><![CDATA[<p>@Adham</p><p>Because you can, like this:</p><p>then when the form is submitted, $_POST['options'] will be already an array ;) . Let the fun begin</p> ]]></content:encoded> </item> <item><title>By: Vladimir</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-8237</link> <dc:creator>Vladimir</dc:creator> <pubDate>Fri, 18 Sep 2009 06:28:32 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-8237</guid> <description>Please add capcha with image or text from bots.. thanks :)
or help from how add the capcha for this script :)
My email you see.</description> <content:encoded><![CDATA[<p>Please add capcha with image or text from bots.. thanks :)<br
/> or help from how add the capcha for this script :)<br
/> My email you see.</p> ]]></content:encoded> </item> <item><title>By: Vladimir</title><link>http://buildinternet.com/2008/12/how-to-validate-a-form-using-php-part-2-streamline-using-arrays/comment-page-1/#comment-8212</link> <dc:creator>Vladimir</dc:creator> <pubDate>Thu, 17 Sep 2009 03:40:33 +0000</pubDate> <guid
isPermaLink="false">http://buildinternet.com/?p=267#comment-8212</guid> <description>Super.. Nice.. Very nice scripts.. Thanks :) This site the best! Agian thanks.</description> <content:encoded><![CDATA[<p>Super.. Nice.. Very nice scripts.. Thanks :) This site the best! Agian thanks.</p> ]]></content:encoded> </item> </channel> </rss><!--
This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc (user agent is rejected)
Database Caching 4/19 queries in 0.030 seconds using disk

Served from: cazzu.com @ 2010-07-31 15:00:59 -->