Имам нужда от помощ с четенето на папката и отварянето/извеждането на csv данните, използвах примери, които други хора са написали, но никой от тях не ми свърши работа.
Това, което имам в момента, е това, но не извежда файловете:
$files = scandir($PathToCreate.$version."/"); //scan the folder
foreach($files as $file) { //for each file in the folder
//The following is another example I found but does not output anything I just need to open each file and be able to output / target specific data
$csv = array();
$lines = file($file, FILE_IGNORE_NEW_LINES);
foreach ($lines as $key => $value)
{
$csv[$key] = str_getcsv($value);
}
print_r($csv)
}
fgetcsv()
: php.net/manual/en/function. fgetcsv.php - person arkascha   schedule 13.04.2015