A piece of the $ tovar [' ATTRIBUTES '] code needs to be split into explode two times and assembled into my version. I was able to break it) but the problem cannot do it all with foreach
There is a string
Autopilot: No | Flight time: 8 min | Length: 166 mm | Width: 166 mm | Video camera: No
First break into | , and then on:
and collect so
Specs | Autopilot: | No Specs | Flight Time: | 8 min Specs | Length: | 166 mm Specs | Width: | 166 mm Specifications | Video Camera: | No
foreach($data as $a_product) { $tovar['_ATTRIBUTES_'] = $data[16]; }