> I would prefer to have if possible: > input name="Grid1[]" type"checkbox" //1st grid, 1st > checkbox > input name="Grid1[]" type"checkbox" //1st grid, 2nd > checkbox... > > That's what Matt M proposed. > If I do: echo $_POST['Grid1']; > I have "on" as a result and not a value. I also tried > with echo $_POST['Grid1[]']; and other similars but I > have an error message "undefined index", or "array".
output your checkboxes like this: <input name="Grid1[]" type="checkbox" value="1" /> <input name="Grid1[]" type="checkbox" value="2" /> <input name="Grid1[]" type="checkbox" value="3" /> . . . and so on. Then do a print_r($_POST) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php