title: jQuery to PHP Array and string
body: <p>I'm trying to get the <code>checked</code> values into a PHP array so that I am able to loop through the array but I can't seem to convert it to an array.</p>
  
  <p><strong>jQuery Ajax Posts</strong></p>
  
  <pre><code>checked=28,24
  </code></pre>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>$checked = $_POST['checked'];
  
  $arr = array($checked);
  print_r($arr);
  </code></pre>
  
  <p><strong>OUTPUT</strong></p>
  
  <pre><code>Array
  (
      [0] =&gt; 28,24
  )
  </code></pre>