[eluser]Selene[/eluser]
I have tried numerous ways to get my radio boxes to repopulate from the database. I haven't yet gotten any of them to work. Currently, this is my code. Thank you for whatever help you can offer.
q1 is both the form name field and the db field name.
<input type="radio" name="q1" value="1" <?php echo set_radio('q1', '1', ($q1 == 1));?> /> There is little or no understanding.
<input type="radio" name="q1" value="2" <?php echo set_radio('q1', '2', ($q1 == 2)); ?> /> There is some understanding.
<input type="radio" name="q1" value="3" <?php echo set_radio('q1', '3', ($q1 == 3)); ?> /> There is a lot of understanding.