Skip to content

Instantly share code, notes, and snippets.

@chrismitchell
Created March 22, 2013 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismitchell/5224073 to your computer and use it in GitHub Desktop.
Save chrismitchell/5224073 to your computer and use it in GitHub Desktop.
<?php
if(in_array('mutualfund', $parts))
{
if(($handle = fopen(dirname(__FILE__). "../../shared_csv/top_mutual_funds.csv", "r")) !== FALSE){
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
echo "<pre>".print_r($data)." <br/></pre>";
}
fclose($handle);
}
else{
echo "FALSE";
}
$index = false;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment