Hi I have the following code which is created in a loop. <tr> <td><?php print $SkyAccNo; ?></td> <td><?php print $SkyDateAss; ?></td> <td><?php print $SkyDateResult; ?></td> <td><input type="checkbox" name="<?php echo$SkyAccNo;?>" value="ON"></td> </tr> For example there will be three rows with different values and each checkbox will have a unique name. On the next page once a submit button has been pushed I want to do: sqlExecute( "Select * from SkyDiary where AccNo = (Here I want the value of the checkbox) Do I use HTTP_POST_VARS here and if so how?? Thanks Wade Halsey [EMAIL PROTECTED]