I'm a beginner with PHP and I'm building a sign-up form. Now I'm using also the type="checkbox" because I want to now with the form wich day people are visiting in a week.
When I'm processing the form everything goes well if somebody check one of the boxes, but not when people don't check one of the checkboxes, then I'll get a PHP Implode error.
<li><input class="bso" type="checkbox" name="day[]" value="monday"/> monday</li>
<li><input class="bso" type="checkbox" name="day[]" value="tuesday"/> tuesday</li>
<li><input class="bso" type="checkbox" name="day[]" value="wednesday"/> wednesday</li>
<li><input class="bso" type="checkbox" name="day[]" value="thursday"/> thursday</li>
<li><input class="bso" type="checkbox" name="day[]" value="friday"/> friday</li>
So what I need to know is, what kind of php code do I need to succesfully process my PHP code without getting a warning when somebody doesn't check one of the boxes, because sometimes the people that are gone use the form don't want to visit.
THNX!