php - 2 CSV columns displayead as a one column on MAC -


csv file looks fine if open in microsoft excel on windows os, if open on mac os you'll see 1 column instead 2 columns (see picture) what's wrong? ((((

test2.aristovapro. ru https://www.instagram.com/p/bgcxrsfmdh6/

ini_set('auto_detect_line_endings',true); function outputcsv($results, $filename = 'file.csv') {      header('content-type: text/csv');     header('content-disposition: attachment; filename='.$filename);     header('pragma: no-cache');     header("expires: 0");      $outstream = fopen("php://output", "w");      foreach($results $result) {         fputcsv($outstream, $result,  ";");     }      fclose($outstream); } 


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo