Someone
public php v1 · immutableforeach ($strings AS $key1 => $array1) { foreach ($value1 AS $key2 => $array2) { printf( "INSERT into item_new (name, green, eco, dfe, section, category, subcategory) VALUES ('%s','%s','%s','%s','%s','%s',';%s;')<br> ", $name, $green, $eco, $dfe, $key1, $cate[$key1][1][$key2], $array2); }}