I want to read a file in PHP, the structure of file is as follows:
text1,text2,text3,.................
...................................
...................................
...................................
...................................
WORD;
NUMBER
col1; col2; col3; [CSV part of the file starts from here]
value1; value2; value3
I want to read CSV part of the file and inset it into MySql database. I looked for fgetCsv
but unable to do so. What is the way to do it?