It reads CSV files and brings you back an associative array ๐ to play with!
$file = "/path/to/your/file";
$csv = new Read_CSV($file);
$data = $csv->get();
For example lets say you have something like this ...
Now if you do this ,
$file = "/path/to/your/file";
$csv = new Read_CSV($file);
$data = $csv->get();
var_dump($data);
You will get this as the result
array (size=3)
0 =>
array (size=4)
'name' => string 'Mistix' (length=6)
'age' => string '12' (length=2)
'programming_language' => string 'PHP' (length=3)
'links' => string 'stickybubble.tk' (length=15)
1 =>
array (size=4)
'name' => string 'Rifat' (length=5)
'age' => string '10' (length=2)
'programming_language' => string 'C++' (length=3)
'links' => string 'saficloud.com' (length=13)
2 =>
array (size=4)
'name' => string 'Alper' (length=5)
'age' => string '30' (length=2)
'programming_language' => string 'Java' (length=4)
'links' => string 'storygam.com' (length=12)
Awesome anha!
![](https://raw.githubusercontent.com/fadsel/Read-CSV/master/sticky-bubble-cover2.jpg)
Read CSV by Sticky Bubble , Android Game is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Permissions beyond the scope of this license may be available at saficloud.com/legal.
Enjoy