PHP passes variables it initalizes, not all. You should check if the variable is set with the "isset" function. Anyway, if you want. post your code, and I'll take a look at "line 27", wich should be referring to an "array element" corresponding to a non-selected checkbox.
Luis ----- Original Message ----- From: "Harpreet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 2:12 PM Subject: [PHP-WIN] checkboxes in php > I have 4 checkboxes in a form. I can select any number of boxes.When i go to > the results page it gives me errors for boxes i dont select > Notice: Undefined index: toall in e:\INetPub... on line 27 > > Please help > Regards, > Harpreet > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php