I have a series of checkboxes in codeigniter and need to show the checked state and value when a form is submitted.
How can I do this?? I have read the documentation of the codeigniter website but cannot see how to set the checked state?
This is my code:
<?php echo form_checkbox('spa', 'y', FALSE, '') ?>
Use:
See: form_checkbox() in codeigniter user guide