I am trying to use the file () function to read a file into an array from another directory. The directory would be at ../data. Also need to read the file in as anything beginning with PaymentPlanExport*. I will be reading these in monthly and only one file will be in that directory at a time. The only difference between the file are the date.
$records = file("PaymentPlanExport*");