PHP – create CSV file from POST $data = curl_exec($ch); that Contains only 1 big String
I did $data = curl_exec($ch); with POST method. When I did echo '<pre>',var_dump($data),'</pre>'; string(15124) ""A","B","C","D","E","F","G","H" ,"2",,"4","5",,,"8" "ONE",,,"QW AH",,"US",,"EU"" I tried to split them and make into array $lines = str_getcsv($data, PHP_EOL); But I got only 1 array with everything in…