title: how to fetch data from SELECT query to a <select> as a <option>
body: <p>i've just find out how to fetch data from database with this code in my server side javascript (index.js);</p>
  
  <pre><code>con.connect(function(err) {
  con.query("SELECT Cliente FROM Tab_Clienti;", function (err, result, fields) {
        if (err) throw err;
        console.log(result);
      });
  });
  </code></pre>
  
  <p>and this is part of the output:</p>
  
  <pre><code>RowDataPacket { Cliente: 'GALLERIA DELL ACCADEMIA DI FIRENZE AUDIO - VIDEO'},
  RowDataPacket { Cliente: 'ZETEMA AUDIO - VIDEO' },
  RowDataPacket { Cliente: 'TERRE DES HOMMES AUDIO - VIDEO' },
  RowDataPacket { Cliente: 'ISMETT AUDIO - VIDEO' },
  RowDataPacket { Cliente: 'PRAGMATIKA AUDIO - VIDEO' },
  RowDataPacket { Cliente: 'CANTINA DI SOAVE AUDIO - VIDEO' },
  </code></pre>
  
  <p>how do i get those info and put into my workspace.html, each data needs to be insert into a  tag, like below:</p>
  
  <pre><code>&lt;select multiple class="form-control" id="clienti"&gt;
         &lt;option&gt;1&lt;/option&gt;
         &lt;option&gt;2&lt;/option&gt;
         &lt;option&gt;3&lt;/option&gt;
         &lt;option&gt;4&lt;/option&gt;
         &lt;option&gt;5&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>my client side file is called app.js just for info.</p>