Last active
September 1, 2016 11:35
-
-
Save avastamin/04dc8d244ef4367db11261f9b0832d5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$file = 'file.csv'; | |
$line = array(); | |
$file = fopen($file,"r"); | |
while(! feof($file)) | |
{ | |
$line = fgetcsv($file); | |
} | |
fclose($file); | |
print_r($line); | |
$key = array_search('Due Date', $line); | |
print_r($line[$key]); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment