Page 1 of 1

Problem with fetching data to csv from database

Posted: Wed Feb 14, 2007 12:59 am
by B.Murali Krishna
Hello Everybody,

I have a problem of fetching data from database and writing it into csv file. Problem is if my data is a string

eg : "fasdfksadfsa,sadfjsadlkf, skfsadfsa" consiting of kama's then the i am getting the string devided into 3 columns, because they are seperated by Kama's. What can i do to get out of this problem.

Thank U
Murali Krishna

Posted: Wed Feb 14, 2007 7:35 am
by feyd
Comma.

fputcsv() may be of interest.