Checkbox not checked
-
This testing page selects a single record from a custom table based on an ID. The data is text and checkboxes. The text data displays correctly and the echo sql statement reports the checkbox data returns TRUE, FALSE, 1 or 0. However none of the checkboxes show a check. ??
Code below displays a value for the OtherWriteIn textfield
echo "<tr><th>List Your Organizations</th><td><input type=text name=OtherWriteIn value='".$row->OtherWriteIn."'></td></tr>";
Code below does not display a check for the checkbox field
echo "<tr><th>All Those Books</th><td><input type=checkbox name=AllThoseBooks value='".$row->AllThoseBooks."'></td></tr>";
The page I need help with: [log in to see the link]
- The topic ‘Checkbox not checked’ is closed to new replies.