Anyone Awake? Up?

I'm using 12 checkboxes

<INPUT TYPE="checkbox" NAME="Check1" VALUE="Your Name">

dynamically generated by mysql. Each has an id as primary index so I do

<INPUT TYPE=\"checkbox\" NAME=\"Check".$mydata->id."\"

When I submit, I want to echo to see if anyone clicked on them. But I
can't get my variable right to find $check1 through $check12. How do I
express in a for loop. $Check.$i does not work of course!

for ($i = 1; $i <= $NMax; $i++)
echo $Check.$i"<br>";

:) Help

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to