The trivial standard solution is to quote the entries, and quote quotes inside the entires. On Tue, 2004-02-17 at 07:15, dwight ian wrote: > Good day to you All, > > Hi Im working on a project where it is nessary to download the values of the tables in the database and > format them in csv (comma separated values) files in order for them to be viewed in a spreadsheet > application (ie Microsoft Excel). > > The problem happens when the values in the tables includes commas and new line, it disrupts the csv file. > What will I do?, Please help. > > Lycos recommends Cheapflights for all your travel needs. Go to http://www.cheapflights.co.uk/?source=lycosgen > > > > > ______________________________________________________________________ > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php