Thanks for the suggestions folks, but unfortunately I'm still having issues with this...
I have my checkboxes repopulating via the following:
if (isset($row['rst_Federal'])){
$strIsChecked = 'checked';
}
<input type="checkbox" <? echo $strIsChecked ?> name="Federal">
But, I'm not sure it's the best method. As it stands, I'll have 14 checkboxes on this page, all pulled from seperate fields in a MySQL table. So, rst_HP can be "on" or "null", rst_PUB can be "on" or "null" etc.
That being said, would I have to write a if(isset function for each one?
Also, when inserting this information into the DB, the checkbox isn't posting a value (ie. "on"). It's coming up blank.
pulls hair
There has to be an easier way, no?
Sincerely,
B