$content =array('color'=> array('blue','red','green'),'size'=> array('small','medium','large'));
$wx=json_encode($content);
echo file_put_contents("test.txt", $wx, FILE_APPEND);
$content =array('color'=> array('blue','red','green'),'size'=> array('small','medium','large'));
$wx=json_encode($content);
echo file_put_contents("test.txt", $wx, FILE_APPEND);