$value) { echo "data[$key] = new Array();\r\n"; foreach($value as $key2=>$value2) echo "data[$key][$key2] = '$value2';\r\n"; } } ?>