Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
CSV to Array giving me nothing
codeyad
June 2014
when i try this with a CSV file it brings me anything :
Format::forge(
$json_string
,
'json'
)->to_array()
Harro
June 2014
There are a "million" ways on how to format a CSV file, so you need to make sure your config matches the definition of the CSV. And it doesn't support all those millions, so you could have bumped into an incompatible format.
Harro
June 2014
p.s. For 1.8/develop CSV import/export has been rewritten, and it gives more granular configuration options.
codeyad
June 2014
well the thing i did was convert that format to Json in order to use it but thanks ill reasearch about what was the real problem of that.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
codeyad
June 2014
Harro
June 2014