Importing comma-delimited csv file, containing commas
View Single Post
10-30-2009, 01:47 AM
Join Date: Sep 2007
Originally Posted by
I'm working on learning how a particular script works. The script imports a comma-delimited text file, and outputs the contents to an HTML table.
The file contains a name field, i.e., "Doe, John" (with comma).
The CSV files are comma-delimited, so I cannot use another character for the delimiter.
Is there a solution to this?
Encode the commas to their ASCII value (,). HTML pages will display this without any further modification.
The Following User Says Thank You to Village Idiot For This Useful Post:
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot