My array of checkbox inputs is displaying and working perfect:
<input name="seminar[<?php echo $a; ?>]" type="checkbox" id="seminar_<?php echo $a; ?> "value="" <?php echo $checked; ?>>
This is my MySQL insert data ($s):
if ($seminar) {
foreach ($seminar as $s )
$interest .= "$s ";
}
My earlier for
loop that processes the checkbox inputs above, does not store the data in $s
. And I am trying to find a way to store those values to pass to that foreach
.
$interest
string except for spaces, but I don't think that the problem is so trivial :) – German Rumm Jan 17 '11 at 21:48