I have a mysql field which has a varchar value with the following format:
option-value, option-value, option-value
Here are 2 example tuple values:
"desk-4, table-2, bed-5"
"desk-2, bed-3, table-8, mattress-10"
I want to have a php-mysql query which can match and calculate (sum) the same products with their values from mutiple records, so that the result would be:
desk 6
table 10
bed 8
mattress 10