title: how to update multiple select box values in php mysql
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;select name="specialization" multiple&gt;
              &lt;option value=""&gt;&lt;/option&gt;
              &lt;option value="United States" selected&gt;United States&lt;/option&gt;
              &lt;option value="United Kingdom"&gt;United Kingdom&lt;/option&gt;
              &lt;option value="Afghanistan" selected&gt;Afghanistan&lt;/option&gt;
              &lt;option value="Aland Islands"&gt;Aland Islands&lt;/option&gt;
              &lt;option value="Albania"&gt;Albania&lt;/option&gt;
              &lt;option value="Algeria"&gt;Algeria&lt;/option&gt;
              &lt;option value="American Samoa"&gt;American Samoa&lt;/option&gt;
              &lt;option value="Andorra"&gt;Andorra&lt;/option&gt;
    &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>how to update multiple select values comma separated in database column.</p>