title: wordpress advanced custom fields select values
body: <p>I'm working with Wordpress 3.5.2 and plugin Advanced CUstom Fields 4.1.8</p>
  
  <p>I have a group of fields (called "P") and some fields.
  I want to retreive all data from a specific select field, and I found some code in the plugin documentation: </p>
  
  <p>$values = get_field('field_519a0279bc93e');
  if($values)
  {</p>
  
  <pre><code>foreach($values as $value)
  {
      echo '&lt;li&gt;' . $value . '&lt;/li&gt;';
  }
  
  echo '&lt;/ul&gt;';
  </code></pre>
  
  <p>}</p>
  
  <p>In $values, getting two different select fields In a case I get a string and in another a boolean. 
  I supposed is so simple, but I can't find the solution.</p>
  
  <p>Thanks in advance.</p>