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

how to read csv with phalcon?

how to read csv file with phalcon? working with php version 5.3 and phalcon1.3.2 thanx

The same like in PHP. Please check fgetcsv function: https://php.net//manual/en/function.fgetcsv.php

edited Aug '14

thanx for instant reply. Is there any library to read csv?



5.2k
Accepted
answer

Phalcon hasn't but on github there are many CSV libraries, for example: https://github.com/jwage/easy-csv or https://github.com/ockam/php-csv

It's hard to imagine a library really being that much easier to use than fopen() & fgetcsv().