mercredi 9 août 2017

How to create many checkbox in a crud table?

I'm new to PHP and I'm doing a project where i need to add optional features for a car rental. I've made a $crud->column() where there are many fields but I need to add 1 more column which contain many checkbox values. Each checkbox need to be checked, or not, if the value from my database is 0 or 1.

For example, if a car has DVD and CD set at 1 and ABS at 0, i need 2 checkbox checked and one not.

Thanks




Aucun commentaire:

Enregistrer un commentaire