This isn't too difficult to overcome. Assuming that you have an array of checkboxes that looks similar to the following:
<input type='checkbox' name='field[0]' value='value0' />
<input type='checkbox' name='field[1]' value='value1' />
<input type='checkbox' name='field[2]' value='value2' />
You can access this in PHP by doing the following. You should only have POST entries for the checkboxes that were checked in the form. Those that were not checked will not be set on the server.
if (isset($_POST['field']) && is_array($_POST['field']))
{
$_POST['field'] = implode(',', $_POST['field']);
// Now $_POST['field'] is a string and no longer an array.
}
The checkbox fields must be constructed with array syntax for this to work though.
HTH!
Regards,
Rich
--
[
http://www.smilingsouls.net]
[
http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail