Passing false values showing up as blank in var_dump
<p>I am calling a stored procedure that takes an boolean argument. True values are easily passed as a 1 in my code, but false values are showing up blank. However, my var_dump shows that my value is actually false.</p>

<pre><code>$form[$i]['photo_op'] = isset($_POST['photo_op'][$array_i]) ? $_POST['photo_op'][$array_i] : false;
</code></pre>

<p>My $_POST var_dump looks something like:</p>

<pre><code>["photo_op"]=&gt; bool(false) ["gala"]=&gt; bool(true) ["chairman"]=&gt; bool(false)
</code></pre>

<p>When I print out my values, it seems to be passing in empty strings for my 'photo_op' and 'chairman' fields:</p>

<pre><code>foreach($form as $f){
    print "Photo OP: " . $f['photo_op'] . " | Gala: " . $f['gala'] . " | Chair: " . $f['chair'];
}
</code></pre>

<p>My output looks like:
Photo OP: | Gala: 1 | Chair: </p>

<p>My goal is to pass the false values to a stored procedure:</p>

<pre><code>$final = insertAttendeeInfo($ind_id, $f['photo_op']);
</code></pre>

<p>The stored procedure looks something like:</p>

<pre><code>function insertAttendeeInfo($ind_id, $photo){
   $insert = dbStoredProc('sp_remove_attendee_information', $ind_id, $photo);
   return;
}
</code></pre>

<p>Any ideas?</p>

<p>Thank you in advance.</p>
