title: How do I hide the PHP explode delimiter from submitted form results?
body: <p>I have created a form which utilizes a .txt file to pull the names of the EMPLOYEES from and breaks them up in the SELECT form option using the PHP explode function.</p>
  
  <pre><code>&lt;select name="FakeName" id="Fake-ID" aria-required="true" required&gt;
   &lt;option value=""&gt;&lt;/option&gt;
    &lt;?php
     $options=nl2br(file_get_contents("employees.txt"));
     $options=explode("&lt;br /&gt;",$options);
  
     for($i=0;$i&lt;count($options);$i++)
     {
      echo "&lt;option value='".$options[$i]."'&gt;".$options[$i]."&lt;/option&gt;";
     }
   ?&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The .txt file appears as such:</p>
  
  <pre><code>Name 1
  Name 2
  Name 3
  ETC
  </code></pre>
  
  <p>Now this works in the form on the site and properly breaks it up and all looks fine. However, when the results are submitted into a SPREADSHEET (in this case a GOOGLE SPREADSHEET) the output includes the "break" and thus it goes into the spreadsheet in a format similar to:</p>
  
  <pre><code>Row 1: Name 1
  Row 2:
         Name 2
  Row 3:
         Name 3
  Row 4:
         ETC
  </code></pre>
  
  <p>I am trying to figure out how to change the code or something so that the delimiter itself does not submit as part of the results. NOTE: Using any delimiter submits. I have tried "\" or ";" and it submits with results.</p>