i have a table with a column called "roles" indicating roles of persons in this way "1,3,6.." and other table with this roles names. Any id coincides with a role.
i'm trying to print all roles as checkboxes and checked if the person has any of these roles.
i was trying with implode and explode without result, Can you guide me?
'.($row['name']).'
Aucun commentaire:
Enregistrer un commentaire