I posted earlier in regards to trying to work with checkboxes in PHP and MySQL, and ... well, I'm not getting anywhere.
Here's the scenario:
Fields in a MySQL database called rst_HP, rst_PUB etc. Field type set to ENUM 'Y','N'.
Checkboxes are in my html document as such:
<input type="checkbox" name="HP" value=N> HP
<input type="checkbox" name="HP" value=N> PUB
Now, when a user is adding a new "account", they can select these checkboxes for various purposes. Then, if/when they return to edit the account, the checkboxes are repopulated with the value they chose.
My biggest problem is with the Yes/No values. How do I work with the ENUM values so that they correspond to the checkbox being checked or not?
Thanks in advance for any help provided.
B