Hi, I am very new to using PHP. I have a question about reading CSV files. In a CSV file there is end of line character. I would like to write a program where I can look the first record up to the first comma, and so I thought the easiest way to identify the first record of each line would be to look for the end of line markers. Can this be done in PHP and what would be the code to find the first character after the end of line markers? I don’t know how to define the end of line characters because they are only visible in notepad++
(Each line doesn’t have the same number of commas, so I can’t just count commas)