<?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 1: Complete with Error Messages!</title>
	<atom:link href="http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/</link>
	<description>Web Design, Development, and Business</description>
	<lastBuildDate>Mon, 21 May 2012 12:58:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Aliervelype</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-34046</link>
		<dc:creator>Aliervelype</dc:creator>
		<pubDate>Thu, 10 May 2012 13:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-34046</guid>
		<description>a solid offer of the classic time, [url=http://www.lv-japan.net/]ルイヴィトン[/url]  bogus Louis Vuitton affordable handbags deserted consideration most people individually them over too record when it comes to round out piece.These same louis vuitton school bags go shopping environment wayEurope&#039;password strength most well-known [url=http://www.lv-japan.net/]ルイビトン 財布[/url]  supplier are families small business progression through, the person was slain between one generation to another, low-key and stylish, and each and every name brand the excellent personality traits with observe your self. ルイビトン 財布 : http://www.lv-japan.net/</description>
		<content:encoded><![CDATA[<p>a solid offer of the classic time, [url=http://www.lv-japan.net/]ルイヴィトン[/url]  bogus Louis Vuitton affordable handbags deserted consideration most people individually them over too record when it comes to round out piece.These same louis vuitton school bags go shopping environment wayEurope&#8217;password strength most well-known [url=http://www.lv-japan.net/]ルイビトン 財布[/url]  supplier are families small business progression through, the person was slain between one generation to another, low-key and stylish, and each and every name brand the excellent personality traits with observe your self. ルイビトン 財布 : <a href="http://www.lv-japan.net/" rel="nofollow">http://www.lv-japan.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-33981</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Wed, 02 May 2012 18:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-33981</guid>
		<description>I don&#039;t know if I&#039;m doing something wrong or if this isn&#039;t working. I placed all the above code (html and php) into one php file and tried submitting it to another blank php file, and when I didn&#039;t fill in a form value, the form would still submit and transfer me to the php page.

I&#039;m a bit confused how PHP can even be used to validate forms before submission in the first place. PHP is all server side and submission is done client side. The only time anyone has time to validate (unless using jquery) is on the server side right after submission, but by then it&#039;ll be too late. You&#039;ll already have submitted and so you can&#039;t show an interactive message that there&#039;s something wrong.

I think the better solution is to just use jquery but I hate how much of a headache it is so I was trying not to use it.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if I&#8217;m doing something wrong or if this isn&#8217;t working. I placed all the above code (html and php) into one php file and tried submitting it to another blank php file, and when I didn&#8217;t fill in a form value, the form would still submit and transfer me to the php page.</p>
<p>I&#8217;m a bit confused how PHP can even be used to validate forms before submission in the first place. PHP is all server side and submission is done client side. The only time anyone has time to validate (unless using jquery) is on the server side right after submission, but by then it&#8217;ll be too late. You&#8217;ll already have submitted and so you can&#8217;t show an interactive message that there&#8217;s something wrong.</p>
<p>I think the better solution is to just use jquery but I hate how much of a headache it is so I was trying not to use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: party supplies</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-33807</link>
		<dc:creator>party supplies</dc:creator>
		<pubDate>Tue, 27 Mar 2012 21:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-33807</guid>
		<description>brilliant. could i point one of my articles to this as im writing one on a similar topic. thanks..</description>
		<content:encoded><![CDATA[<p>brilliant. could i point one of my articles to this as im writing one on a similar topic. thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hapsari</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-33655</link>
		<dc:creator>hapsari</dc:creator>
		<pubDate>Sat, 24 Mar 2012 07:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-33655</guid>
		<description>nice post :)</description>
		<content:encoded><![CDATA[<p>nice post :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pihrevren</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-33613</link>
		<dc:creator>pihrevren</dc:creator>
		<pubDate>Fri, 23 Mar 2012 09:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-33613</guid>
		<description>[url=http://nirwedr3d.springnote.com/pages/11067072]buy discount free prescription diazepam  invent [/url] 
[url=http://cialis3e4r.fashionsdiary.com/uncategorized/cialis-same-day-delivery.html]cialis same day delivery[/url] 
[url=http://cialis3e4r.fashionsdiary.com/uncategorized/buy-cialis-overnight.html]buy cialis overnight[/url] 
[url=http://www.magentoupgrade.com/magento-commerce-tutorials/amoxicillin-no-prescription-needed.html]buy cash delivery Amoxicillin  Brakebill [/url] 
[url=http://deraste3w.springnote.com/pages/11067752]zithromax fekine  values [/url] 
[url=http://answer.howtocooks.com/buy-viagra-online-overnight-fedex-delviery.html]purchase viagra online without prescription  handout [/url] 
[url=http://www.magentoupgrade.com/magento-commerce-tutorials/order-accutane-no-prescription.html]cheap Accutane delivery fedex  childhealthhrb [/url] 
[url=http://www.findcaranswer.com/?p=5815]ultram cheap next day  assertiveness [/url] 
[url=http://www.findcaranswer.com/?p=5816]cheapest online ambien  mummys [/url] 
[url=http://answer.howtocooks.com/soma-without-prescription-overnight-delivery.html]soma pharmacy COD saturday delivery  CONTRACTOR [/url] 
[url=http://nirwedr3d.springnote.com/pages/11067076]buy carisoprodol online overnight  eager [/url] 
[url=http://www.findcaranswer.com/?p=5813]soma order  Rockport [/url] 
[url=http://answer.howtocooks.com/tramadol-overnight-cod.html]cheap discount tramadol  calif [/url] 
[url=http://deraste3w.springnote.com/pages/11067716]cheap order Valtrex  LinksBerisi [/url]</description>
		<content:encoded><![CDATA[<p>[url=http://nirwedr3d.springnote.com/pages/11067072]buy discount free prescription diazepam  invent [/url]<br />
[url=http://cialis3e4r.fashionsdiary.com/uncategorized/cialis-same-day-delivery.html]cialis same day delivery[/url]<br />
[url=http://cialis3e4r.fashionsdiary.com/uncategorized/buy-cialis-overnight.html]buy cialis overnight[/url]<br />
[url=http://www.magentoupgrade.com/magento-commerce-tutorials/amoxicillin-no-prescription-needed.html]buy cash delivery Amoxicillin  Brakebill [/url]<br />
[url=http://deraste3w.springnote.com/pages/11067752]zithromax fekine  values [/url]<br />
[url=http://answer.howtocooks.com/buy-viagra-online-overnight-fedex-delviery.html]purchase viagra online without prescription  handout [/url]<br />
[url=http://www.magentoupgrade.com/magento-commerce-tutorials/order-accutane-no-prescription.html]cheap Accutane delivery fedex  childhealthhrb [/url]<br />
[url=http://www.findcaranswer.com/?p=5815]ultram cheap next day  assertiveness [/url]<br />
[url=http://www.findcaranswer.com/?p=5816]cheapest online ambien  mummys [/url]<br />
[url=http://answer.howtocooks.com/soma-without-prescription-overnight-delivery.html]soma pharmacy COD saturday delivery  CONTRACTOR [/url]<br />
[url=http://nirwedr3d.springnote.com/pages/11067076]buy carisoprodol online overnight  eager [/url]<br />
[url=http://www.findcaranswer.com/?p=5813]soma order  Rockport [/url]<br />
[url=http://answer.howtocooks.com/tramadol-overnight-cod.html]cheap discount tramadol  calif [/url]<br />
[url=http://deraste3w.springnote.com/pages/11067716]cheap order Valtrex  LinksBerisi [/url]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prices gate</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-33426</link>
		<dc:creator>prices gate</dc:creator>
		<pubDate>Mon, 19 Mar 2012 06:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-33426</guid>
		<description>Great write-up, I&#039;m normal visitor of one&#039;s website, maintain up the nice operate, and It is going to be a regular visitor for a lengthy time.</description>
		<content:encoded><![CDATA[<p>Great write-up, I&#8217;m normal visitor of one&#8217;s website, maintain up the nice operate, and It is going to be a regular visitor for a lengthy time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-32738</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Thu, 19 Jan 2012 02:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-32738</guid>
		<description>Great post, hope we can learn from each others, hope to learn more about PHP</description>
		<content:encoded><![CDATA[<p>Great post, hope we can learn from each others, hope to learn more about PHP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-32668</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Wed, 11 Jan 2012 10:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-32668</guid>
		<description>hi..great one</description>
		<content:encoded><![CDATA[<p>hi..great one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ola</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-32571</link>
		<dc:creator>ola</dc:creator>
		<pubDate>Wed, 04 Jan 2012 05:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-32571</guid>
		<description>include&quot;config.php&quot;;

	$username = $_POST[&#039;uname&#039;];
	$firstname = $_POST[&#039;fname&#039;];
	$lastname = $_POST[&#039;lname&#039;];
	$email = $_POST[&#039;email&#039;];
	$password = md5($_POST[&#039;pswd&#039;]);
	$confirmpassword = md5($_POST[&#039;confpswd&#039;]);
	$phone = $_POST[&#039;phone&#039;];
	$dateofbirth = $_POST[&#039;dob&#039;];
	$address = $_POST[&#039;address&#039;];
	$city = $_POST[&#039;city&#039;];
	$state = $_POST[&#039;state&#039;];
	$postcode = $_POST[&#039;code&#039;];
	$country = $_POST[&#039;country&#039;];

	
$insert = &#039;INSERT INTO user_reg(id, uname, fname, lname, email, pswd, confpswd, phone, dob, address, city, state, code, country) 
VALUES (&quot;&#039;.$username.&#039;&quot;, &quot;&#039;.$firstname.&#039;&quot;, &quot;&#039;.$lastname.&#039;&quot;, &quot;&#039;.$email.&#039;&quot;; &quot;&#039;.$password.&#039;&quot;; &quot;&#039;.$confirmpassword.&#039;&quot;; &quot;&#039;.$phone.&#039;&quot;; 
&quot;&#039;.$dateofbirth.&#039;&quot;; &quot;&#039;.$address.&#039;&quot;; &quot;&#039;.$city.&#039;&quot;; &quot;&#039;.$state.&#039;&quot;; &quot;&#039;.$postcode.&#039;&quot;; &quot;&#039;.$country.&#039;&quot;)&#039;;

mysql_query($insert);</description>
		<content:encoded><![CDATA[<p>include&#8221;config.php&#8221;;</p>
<p>	$username = $_POST['uname'];<br />
	$firstname = $_POST['fname'];<br />
	$lastname = $_POST['lname'];<br />
	$email = $_POST['email'];<br />
	$password = md5($_POST['pswd']);<br />
	$confirmpassword = md5($_POST['confpswd']);<br />
	$phone = $_POST['phone'];<br />
	$dateofbirth = $_POST['dob'];<br />
	$address = $_POST['address'];<br />
	$city = $_POST['city'];<br />
	$state = $_POST['state'];<br />
	$postcode = $_POST['code'];<br />
	$country = $_POST['country'];</p>
<p>$insert = &#8216;INSERT INTO user_reg(id, uname, fname, lname, email, pswd, confpswd, phone, dob, address, city, state, code, country)<br />
VALUES (&#8220;&#8216;.$username.&#8217;&#8221;, &#8220;&#8216;.$firstname.&#8217;&#8221;, &#8220;&#8216;.$lastname.&#8217;&#8221;, &#8220;&#8216;.$email.&#8217;&#8221;; &#8220;&#8216;.$password.&#8217;&#8221;; &#8220;&#8216;.$confirmpassword.&#8217;&#8221;; &#8220;&#8216;.$phone.&#8217;&#8221;;<br />
&#8220;&#8216;.$dateofbirth.&#8217;&#8221;; &#8220;&#8216;.$address.&#8217;&#8221;; &#8220;&#8216;.$city.&#8217;&#8221;; &#8220;&#8216;.$state.&#8217;&#8221;; &#8220;&#8216;.$postcode.&#8217;&#8221;; &#8220;&#8216;.$country.&#8217;&#8221;)&#8217;;</p>
<p>mysql_query($insert);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ola</title>
		<link>http://buildinternet.com/2008/12/how-to-validate-a-form-complete-with-error-messages-using-php-part-1/comment-page-1/#comment-32570</link>
		<dc:creator>ola</dc:creator>
		<pubDate>Wed, 04 Jan 2012 05:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=84#comment-32570</guid>
		<description>()</description>
		<content:encoded><![CDATA[<p>()</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using memcached
Database Caching using memcached
Object Caching 369/369 objects using disk: basic

Served from: buildinternet.com @ 2012-05-21 10:17:03 -->
