this functions read csv (comma seperated values) files and return the content as an array.
the first one returns the whole file, the second acts like a select statement

perfect for file-based databases

copy the code of file handling / read and select csv

click here to select all the code