I wish to create a property page where features/facilities are represented by icons (e.g. swimming pool, laundry, bbq, etc.).
I plan to use a checkbox array in the admin form to select the features/facilities and a foreach loop to pull the results from the db.
Where I’m stuck is how to translate the array results into displaying the relevant icons.
I apologise for lack of code but I’m at the conceptual stage and am stumpped already (not a good start I know) and wondered if any of you lovely people might have an idea of how I might get each value in the array (if present by being checked) to display the relevant icon please?
Store the location of the icon in the record for each feature/facility, then simply use these in
Imgtags along with your checkboxes etc