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

download options for file handling / read and select csv

you can download the source as PHP file,

open the file as plain text in a new window or

get the code in a textarea to copy it.