I have a csv file with three columns: email address , first name and last name . I have a scene where I can print an array using the following code:
<?php $file = fopen("testEmails.csv","r"); while(! feof($file)) { print_r(fgetcsv($file)); } fclose($file); ?>
This prints an array, so each field in a row. What I want to print is purely the values ββin the first column of the row. How this is done, the fgetcsv documentation seems very sketchy to me (relative newbie).
Thanks.
php csv fgetcsv
user3725781
source share