fputcsv and checkboxes
<p>I trying simplify my form submit by using <code>fputcsv</code>. my question is how do I process checkboxes? also since i'll be appending do I need to change the <code>"w"</code> to <code>"a"</code>?</p>

<pre><code>if(isset($_POST['submit'])) {

    $data = implode(',', $_POST);
    if( $fp = fopen('form_data.csv', 'w') ){
        fputcsv($fp, $data);
    }
    fclose($fp);        

}
</code></pre>
