title: JQUERY: how to serialize input fields with same name
body: <p>I have the following form that has lots of similar type of input fields with same name (eg. 10 fields for 'name', 10 fields for 'address'). How many times these input fields will repeated, can not be said in prior and therefore they cannot be given static different names (eg. 'name1', 'name2', 'address1', 'address2').</p>
  
  <p>Problem: while I am posting data using ajax post (serialized), its only posting the first value of fields with same name (received with php).</p>
  
  <p>Required: </p>
  
  <ol>
  <li>How can I get all the input data posted properly?</li>
  <li>Whats the best way to <strong>name</strong> such input fields that contain similar data for the purpose of catching those data with php (form is generated in php)?</li>
  </ol>
  
  <p>Sample code:</p>
  
  <pre><code>    &lt;form name="content"&gt;
       &lt;table&gt;
        &lt;tr&gt;
         &lt;td&gt;
          &lt;input name="full_name" type="text" /&gt;
         &lt;/td&gt;
         &lt;td&gt;
          &lt;input name="address" type="text" /&gt;
         &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
         &lt;td&gt;
          &lt;input name="full_name" type="text" /&gt;
         &lt;/td&gt;
         &lt;td&gt;
          &lt;input name="address" type="text" /&gt;
         &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
     &lt;/form&gt;
  </code></pre>