I have looked around in the forums but can't find an answer. This one seems the most promising but can't get it to work.
Code: Select all
$checked=$row_rsupdate2['checkbox'];
echo "<input type='checkbox' name='AN'";
if ($checked==1){
echo " CHECKED>";
}else{
echo ">";
} ?>The checkbox values in my database are 1 or 0. The value of the checkboxes on the original add record form was "checkbox"
any ideas on how I might show the original checkbox values on the update form?
many thanks
Jim