PHP multi select array : <p>I am having issues getting the following to work and really hope somebody can help out a little:</p>

<p>I have the following select dropdown box and I am trying to send 2 values each time. 1st is my JobID, 2nd is my ProfileID.</p>

<pre><code>echo '  &lt;select class="ui dropdown multiple special AddProfileToCastings" name="AddProfileToCastings[]" &gt;';
        echo '  &lt;option value="" &gt;Casting Jobs&lt;/option&gt;';
        foreach($GetCastings_result as $data){
        $Job_ID = $data-&gt;Job_ID;
        echo '  &lt;option value="'.$Job_ID.','.$ProfileID.'" &gt;'.$data-&gt;Job_Title.'&lt;/option&gt;';
        }
        echo "  &lt;/select&gt;";

    if(isset($_POST['Submit_AddProfileToCastings'])){
$AddProfileToCastings = $_POST['AddProfileToCastings'];
print_r($AddProfileToCastings);
}
</code></pre>

<p>The resulting Array looks like this:</p>

<p>Array ( [0] => 66,1108 [1] => 69,1108 [2] => 73,1108 )</p>

<p>I would now like to split up my JobID and ProfileID(the comma separated values) so that I am able to insert the data in to my database.</p>
