<?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: Adding Unlimited Form Fields With JQuery and Saving to a Database</title>
	<atom:link href="http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/</link>
	<description>Web Design &#38; Development Blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:06:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rob</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-24687</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 22:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-24687</guid>
		<description>Thanks for the comment. You&#039;ll need to loop through an associatative array with PHP and name your foemd fields slightly differently. In fact, I wrote a whole article about this very subject :) See http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/</description>
		<content:encoded><![CDATA[<p>Thanks for the comment. You&#8217;ll need to loop through an associatative array with PHP and name your foemd fields slightly differently. In fact, I wrote a whole article about this very subject <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  See <a href="http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/" rel="nofollow">http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-24683</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Wed, 11 Jan 2012 21:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-24683</guid>
		<description>I am trying to use this on a project. I&#039;m wanting to be able to add more text area&#039;s that will be notes. How would I go about using this and creating a new column in my database and passing the value from each text area in the form to a new column in my database? It needs to create the new column for each text area.. 

Example

User fills out the rest of the form. Fills out the first text area notes and then if needed, clicks &quot;Add more&quot;, another text area is loaded in the form, filled out and then all information is saved to the database when submitted. The rest of the of form goes into static columns that I&#039;ve setup in the database but the notes go into separate columns depending on how many the user added on the form.. 

Any help would be greatly appreciated! 
Thanks</description>
		<content:encoded><![CDATA[<p>I am trying to use this on a project. I&#8217;m wanting to be able to add more text area&#8217;s that will be notes. How would I go about using this and creating a new column in my database and passing the value from each text area in the form to a new column in my database? It needs to create the new column for each text area.. </p>
<p>Example</p>
<p>User fills out the rest of the form. Fills out the first text area notes and then if needed, clicks &#8220;Add more&#8221;, another text area is loaded in the form, filled out and then all information is saved to the database when submitted. The rest of the of form goes into static columns that I&#8217;ve setup in the database but the notes go into separate columns depending on how many the user added on the form.. </p>
<p>Any help would be greatly appreciated!<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: julie</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-13073</link>
		<dc:creator>julie</dc:creator>
		<pubDate>Fri, 28 Oct 2011 09:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-13073</guid>
		<description>Hi, do you have an email that I can contact you? I can&#039;t seem to get the &#039;adding form fields&#039; working! Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi, do you have an email that I can contact you? I can&#8217;t seem to get the &#8216;adding form fields&#8217; working! Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris0990</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-12205</link>
		<dc:creator>chris0990</dc:creator>
		<pubDate>Tue, 11 Oct 2011 06:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-12205</guid>
		<description>sir, could you please give an example on how i will get the values if i want to add unlimited dropdown box.

thank you in advance :]</description>
		<content:encoded><![CDATA[<p>sir, could you please give an example on how i will get the values if i want to add unlimited dropdown box.</p>
<p>thank you in advance :]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-11680</link>
		<dc:creator>Dieter</dc:creator>
		<pubDate>Fri, 23 Sep 2011 13:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-11680</guid>
		<description>I found your other post with a solution to that and I am using something like this:

	for ( $i=0;$i&lt;count($_POST[&#039;qty&#039;]);$i++) {
	  {
      $qty = $_POST[&#039;qty&#039;][$i];
      $description = $_POST[&#039;description&#039;][$i];
	  $base_price = $_POST[&#039;base_price&#039;][$i];
	  $vat = $_POST[&#039;vat&#039;][$i];
	  $total_price = $_POST[&#039;total_price&#039;][$i];
      }

Works like a charm :)</description>
		<content:encoded><![CDATA[<p>I found your other post with a solution to that and I am using something like this:</p>
<p>	for ( $i=0;$i&lt;count($_POST[&#039;qty&#039;]);$i++) {<br />
	  {<br />
      $qty = $_POST[&#039;qty&#039;][$i];<br />
      $description = $_POST[&#039;description&#039;][$i];<br />
	  $base_price = $_POST[&#039;base_price&#039;][$i];<br />
	  $vat = $_POST[&#039;vat&#039;][$i];<br />
	  $total_price = $_POST[&#039;total_price&#039;][$i];<br />
      }</p>
<p>Works like a charm <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-11644</link>
		<dc:creator>Dieter</dc:creator>
		<pubDate>Thu, 22 Sep 2011 12:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-11644</guid>
		<description>Hi, and thanks for sharing this code. I want to use this in a simple invoice system but I am struggelig to figure how I can use this with my system. I have a table called invoices and a table called products. I want to assign the products to the invoices I create

I want to do something like below: 

INSERT INTO products (prodname, qty, description, price, vat, total_price) VALUES (&#039;%s&#039;)&quot;,

Then I want the products to appear on the correct invoice which they were added. 

But I am stuck here, any help is greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Hi, and thanks for sharing this code. I want to use this in a simple invoice system but I am struggelig to figure how I can use this with my system. I have a table called invoices and a table called products. I want to assign the products to the invoices I create</p>
<p>I want to do something like below: </p>
<p>INSERT INTO products (prodname, qty, description, price, vat, total_price) VALUES (&#8216;%s&#8217;)&#8221;,</p>
<p>Then I want the products to appear on the correct invoice which they were added. </p>
<p>But I am stuck here, any help is greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web hosting</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-11494</link>
		<dc:creator>web hosting</dc:creator>
		<pubDate>Fri, 16 Sep 2011 22:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-11494</guid>
		<description>&lt;strong&gt;web hosting...&lt;/strong&gt;

[...]Adding Unlimited Additional Elements to a Form Using JQuery and inserting into a database &#124; Web Design &amp; Development Talk[...]...</description>
		<content:encoded><![CDATA[<p><strong>web hosting&#8230;</strong></p>
<p>[...]Adding Unlimited Additional Elements to a Form Using JQuery and inserting into a database | Web Design &amp; Development Talk[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-8008</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 01 Apr 2011 22:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-8008</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-7988&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Cheesedude:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 &lt;p&gt;Why in the world did you use sprintf?  There is absolutely no need for it and it makes the code much more confusing.&lt;/p&gt;
&lt;/blockquote&gt;


Granted, it makes the code more complicated on this site - a small limited area. However, in your normal editor it makes the code much much easier to read. sprintf is simply shorthand for outputting some preformatted info to the screen, it&#039;s just down to personal preferance and if you wish to write additional lines of code. :)</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-7988" rel="nofollow"><br />
<strong><em>Cheesedude:</em></strong><br />
</a></p>
<p>Why in the world did you use sprintf?  There is absolutely no need for it and it makes the code much more confusing.</p>
</blockquote>
<p>Granted, it makes the code more complicated on this site &#8211; a small limited area. However, in your normal editor it makes the code much much easier to read. sprintf is simply shorthand for outputting some preformatted info to the screen, it&#8217;s just down to personal preferance and if you wish to write additional lines of code. <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cheesedude</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-7988</link>
		<dc:creator>Cheesedude</dc:creator>
		<pubDate>Thu, 31 Mar 2011 18:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-7988</guid>
		<description>Why in the world did you use sprintf?  There is absolutely no need for it and it makes the code much more confusing.</description>
		<content:encoded><![CDATA[<p>Why in the world did you use sprintf?  There is absolutely no need for it and it makes the code much more confusing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: passerby</title>
		<link>http://www.web-design-talk.co.uk/58/adding-unlimited-form-fields-with-jquery-mysql/comment-page-2/#comment-7872</link>
		<dc:creator>passerby</dc:creator>
		<pubDate>Sun, 27 Mar 2011 10:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-design-talk.co.uk/?p=58#comment-7872</guid>
		<description>OK I manage to get it working. Big thanks to you Rob and Jimmy from http://www.callmenoob.com/pages/post/How-to-add-remove-textbox-dynamically-with-jQuery-modified

thanks everyone :D</description>
		<content:encoded><![CDATA[<p>OK I manage to get it working. Big thanks to you Rob and Jimmy from <a href="http://www.callmenoob.com/pages/post/How-to-add-remove-textbox-dynamically-with-jQuery-modified" rel="nofollow">http://www.callmenoob.com/pages/post/How-to-add-remove-textbox-dynamically-with-jQuery-modified</a></p>
<p>thanks everyone <img src='http://www.web-design-talk.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

