Possible Duplicate:
how to extract data from csv file in php
I want to print an array from a CSV file. It contains 4 rows. First row with id numbers and second,third and fourth rows with corresponding values.
Depending on the values, I want to print the id number. Please help me guys as I am new to php.
Like if value == 1 , print_r($id)
but I am not sure how to point to that paticular id.