title: serialize an array to send to php in hyperlink
body: <p>I have this:</p>
  
  <pre><code>var postData = {};
                      $('#items tr').not(':first').each(function(index, value) {
                          var keyPrefix = 'data[' + index + ']';
                          postData[keyPrefix + '[index]'] = index;
                          postData[keyPrefix + '[supp_short_code]'] = $(this).closest('tr').find('.supp_short_code').text();
                          postData[keyPrefix + '[project_ref]'] = $(this).closest('tr').find('.project_ref').text();
                          postData[keyPrefix + '[om_part_no]'] = $(this).closest('tr').find('.om_part_no').text();
                          postData[keyPrefix + '[description]'] = $(this).closest('tr').find('.description').text();
                          postData[keyPrefix + '[quantity_input]'] = $(this).closest('tr').find('.quantity_input').val();
                          postData[keyPrefix + '[cost_of_items]'] = $(this).closest('tr').find('.cost_of_items').text();
                          postData[keyPrefix + '[cost_total_td]'] = $(this).closest('tr').find('.cost_total_td').text();
                      });
  </code></pre>
  
  <p>What would be my next step to send this to PHP, i dont want to use Ajax because i need to go the PHP page and view the received results. The idea is to take values from a table, when the user presses "Preview" it will take these values and take them to a PHP page which i will have have set up an Invoice style page which i will populate with the above values?</p>
  
  <p>Thanks</p>