Hello,
How can I escape "," in value while generating csv from an array? Suppose I have following php array
<?php
$arr = [
["name" => "John Doe", "email" => "johndoe@nomail.com"],
["name" => "Foo, Bar", "email" => "foobar@nomail.com"]
];
?>
In generated CSV, "John Doe" is taking single cell, but "Foo, Bar" taking two cells. How can I prevent this, so my second value will fit in a single cell.
Please refer following image