Hi Rinku, In HTML form: <form action="" method=post> <input type=checkbox name=checkbox1 value="1"> <input type=checkbox name=checkbox1 value="2"> <input type=checkbox name=checkbox1 value="3"> ... </form> In Php code: $checkbox1 = $HTTP_POST_VARS["checkbox1"]; $num = count($checkbox1); for ($i=0; $i<$num; $i++) { echo $checkbox1[$i]; } You can also get this from php manual. Regards Rick -----Original Message----- From: Rinku Shivnani [mailto:rinku@banas.guj.nic.in] Sent: Tuesday, October 28, 2003 3:37 PM To: php-windows@lists.php.net Subject: Check box value for PHP Dear All, Pls guide on how to assign value for chkbox in PHP ? I have program in which if a person clicks on chkbox and then clicks on submit then the chked records shd not come in the list. Regards, Rinku -- 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