I have a table with two products:
Array
(
[3] => Array
(
[1] => 12
[2] => 4
[3] => 3
)
[5] => Array
(
[1] => 12
[2] => 1
)
)
How do I save the array in the database and then print it in the following way:
[1] - 12 бр.
[2]- 4 бр.
[3] - 3 бр.
[1] - 12 бр.
[2] - 1 бр.
"color" - "quantity"
[1] - 12 бр.