Re: How to edit database field that reference multiple categorie separated by comma?
Reply #1 –
Never mind,
I found it. I just edited the add category page and set is as checkbox using this query as data source:
"SELECT DISTINCT id_cat AS value,cat_name AS label FROM categories ORDER BY id_cat ASC"
Now that I have the correct values in store table cat_id field, how can I display category names instead of category IDs in LIST and VIEW pages?
TIA
tony