Re: [PHP-DB] csv without line feed

2002-03-28 Thread George Pitcher
Something I used to do about 17-18 years ago to analyse typeseting code was to use DOS's 'Debug'. It gave a hex value for each character in one panel while scrolling thru the file. Compare this against the Excel printout and you should find what code is being used for lf. Hoping that debug is

Re: [PHP-DB] csv without line feed

2002-03-28 Thread Sommai Fongnamthip
I have hex text editor which could display hex value for each character. I fould that this text file has only carriage-return (0D) in end of record but other text file had carriage-return with line feed (0D 0A). So, when I open this file with fget or fgetcsv; PHP treat for 1 record or 1