So would that make it an array or just a variable called sendEmail[$i].
I got it to work if I make it like this:
<INPUT TYPE=hidden name=sendMail$i value=1 checked>
but then I have to make it Global.
GLOBAL $sendMail1, $sendMail2, $sendMail3;
And since I don't know how many checkboxes there are I would have to some how put this in a while loop to make each one global. But that doesn't seem to work for me.
I tried:
<INPUT TYPE=hidden name=sendMail[$i] value=1 checked>
before but it didn't want to work. Is it possible to make and array Global?
GLOBAL $sendMail;
or
GLOBAL $sendMail[];