title: POST an array from an HTML form without javascript
body: <p>I have a form that is a little complex and I am hoping to simplify the server-side (PHP) processing by natively POSTing an array of tuples.</p>
  
  <p>The first part of the form represents a <em>User</em>:</p>
  
  <ul>
  <li>First Name</li>
  <li>Last Name</li>
  <li>Email</li>
  <li>Address</li>
  <li>etc</li>
  </ul>
  
  <p>The second part of the form represents a <em>Tree</em>:</p>
  
  <ul>
  <li>Fruit</li>
  <li>Height</li>
  <li>etc</li>
  </ul>
  
  <p>The problem is that I need to be able to POST multiple <em>Trees</em> for a single <em>User</em> in the same form. I would like to send the information as a single <em>User</em> with an array of <em>Trees</em> but this might be too complex to do with a form. The only thing that comes to mind is using javascript to create some JSON message with a User object and an array of Tree objects. But it would be nice to avoid javascript to support more users (some people have scripts turned off).</p>