I want to read the CSV file in PHP and put its closing into the database. I wrote the following code:
$ line = 1; $ File = fopen ("qryWebsite.csv", "r"); While ($ data = fgetcsv ($ file, 8000, ",")) == incorrect) {$ num = count ($ data); $ Line ++; {$ Dcho $ data [$ c] "\ n";}} fclose ($ file) for ($ C = 0; $ c & lt; $ num; $ c ++); I have not received any error but it does not show me results.
I am using class to read data from CSV files. This CSV file can give more flexibility in reading.
Comments
Post a Comment