I have an array from the input field, now I want to create a different combination of values ββto store in the colunm database.
--------------------------------
id | value
--------------------------------
1 8,12,7,11
2 8,15,7,11
3 9,12,7,11
4 9,15,7,11
5 13,12,7,11
6 13,15,7,11
$ first = $ this-> input-> post ('product_variant');
Array
(
[12] => Array
(
[0] => 8
[1] => 9
[2] => 13
)
[13] => Array
(
[0] => 12
[1] => 15
)
[15] => Array
(
[0] => 7
)
[16] => Array
(
[0] => 11
)
)
now what i want to generate a Like combination:
8,12,7,11
8,15,7,11
9,12,7,11
9,15,7,11
13,12,7,11
13,15,7,11