I'm doing a form where if the user doesn't enter all of the req. fields, I display an error message with the same form beneath it, and their entered values echoed out so they don't have to retype. I'm having trouble with the radio buttons though:
<input type="radio" name="time_type" value="Vacation" <?php if($time_type=="Vacation") echo 'checked'; ?>> Vacation<br><br>
<input type="radio" name="time_type" value="Sick" <?php if($time_type=="Sick") echo 'checked'; ?>>Sick Time<br><br>
<input type="radio" name="time_type" value="Personal" <?php if($time_type=="Personal") echo 'checked'; ?>> Personal<br><br>
<input type="radio" name="time_type" value="Funeral" <?php if($time_type=="Funeral") echo 'checked'; ?>> Funeral Leave
they aren't maintaining state. any ideas?