title: Is it possible to send an array in a POST, or assign multiple values in one input tag, and how?
body: <p>I want to send <em>more than one value</em> in the POST but <em>use only one type of input tag</em>.</p>
  
  <p>For example, is it possible to set the value of the <strong>option tag</strong> to both <code>$data['username_id]</code> and <code>$data['name']</code> and send it via the POST</p>
  
  <pre><code>&lt;select name="owner" id="owner"&gt;
      &lt;option value="NULL" selected="selected"&gt;&lt;/option&gt;
      &lt;?php
      $sql = 'SELECT * FROM users'
           . ' ORDER BY name';
  
      $query = mysqli_query($connect,$sql) or die (mysqli_error($connect));
  
      while ($data = mysqli_fetch_array($query))
      {
          ?&gt;
          &lt;option value="&lt;?php echo $data['user_id']; ?&gt;"&gt;&lt;?php echo $data['name']; ?&gt;&lt;/option&gt;
          &lt;?php
      }
      ?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I can't seem to retrieve on the other end. I have tried:</p>
  
  <pre><code>&lt;option value="&lt;?php echo $data['user_id','name']; ?&gt;"&gt;&lt;?php echo $data['name']; ?&gt;&lt;/option&gt;
  </code></pre>
  
  <p>But still no luck.</p>
  
  <p>Any help would be useful.</p>