Menu
I am trying to write a array of strings into the csv file using fputcsv. Some string consists of backslashes and double quote within them. for example
“hello world””,”program”,123,45. When write this string into a a csv file the output that I get is;
hello world”program”,123,45.
expected output:
hello world”,program,123,45.
I also tried to escape the backslash and the double quote. but still I am not getting the expected output.Could anyone please help me out with this problem.
Thanks in advance.