We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

CSV To database save

I insert into my database a CSV file but i find that some of lines are not inserted so the number of saved data is less than the data in my csv file

Please any help!

Maybe there are a reason for that- for example, table need some data csv didnt provide (for specific line)... We cant tell u about your problem- depends of csv, table scheme, etc. U must figure out.

We need WAAAYYY more information to provide any help. What does your code look like (specifically for handling the CSV, don't just paste in everything). What have you tried to solve the problem yourself?