I'm trying to figure out how to edit using a form. I have several checkboxes may or may not be selected in the DB and their value = 1
How do I pull that information from the mysql table and push it to an edit form where it would show the boxes checked where as they were entered?
currently that shows as checked all the time.
How do I pull that information from the mysql table and push it to an edit form where it would show the boxes checked where as they were entered?
Code:
<br><input type="checkbox" name="earslot" checked="<? echo $row['earslot']; ?>" /><br>
currently that shows as checked all the time.








), sorry.