I want to pass an IDnumber over when a radio button is selected, but the problem is that I am using a while loop, so there are several radio buttons. Basically when the radio button is checked for the record, I want to pass that record&#039s ID number to the SQL statement.