kaancho12
Technical User
- Feb 22, 2005
- 191
hi,
when excel converts an excel file to "csv" format if there is a "comma" within one of the rows before being converted then it puts "quotes" in that row. Now, i am using php to use that csv file and enter it into mysql database. but when i use explode("," $file) to break it apart i cannot avoid it breaking into more fields than required. Is there an easy solution to this ?
thanks
when excel converts an excel file to "csv" format if there is a "comma" within one of the rows before being converted then it puts "quotes" in that row. Now, i am using php to use that csv file and enter it into mysql database. but when i use explode("," $file) to break it apart i cannot avoid it breaking into more fields than required. Is there an easy solution to this ?
thanks