Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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: http://php.net//manual/en/function.fgetcsv.php

edited Aug '14

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



3.8k
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().