title: PHP explode array with 2 types of separators
body: <p>I have this options array:</p>
  
  <pre><code>string(111) "colors:black;white;transparent;pink;"    
  </code></pre>
  
  <p>how can I explode it so I get as a label first separator : and the rest in array as options? I have this so far:</p>
  
  <pre><code>$options= explode(";",$rows[0]);
  $htm= '&lt;ul class="product_opts"&gt;'.$lang['available_options'].'';
  foreach ($options as $value) { 
          $row=mysql_fetch_row($result);
              $htm.='&lt;li style="text-align:left;font-weight:normal;"&gt;'.$value.'&lt;/li&gt;';
              }
          $htm.= '&lt;/ul&gt;';
          }
      echo $htm;    
  </code></pre>
  
  <p>but it returns the label as option too..</p>