ok, not sure on how to ask this one.....but here goes!
im writing an app that needs to read all the pdf files from a directory, then create a checklist of the items, that a user will select. it will then (eventually) create a pdf file from these pdf files and store it somewhere.
i have got the read from dir working, the issue i have at the moment is that as i dont know how many files will be found i have an unknown number of $_POST variables returned.
is there an easy way to loop through this array and take out the info?
normally i always know $_POST vars so i can just do $varname = $_POST['varname'], but this time its just something like:
[filename1] => Adhesive_Flooring_Method.pdf
[filename2] => Ceramic Tiling Method Statement.pdf
[filename3] => ceramic tiling to walls and columns Method Statement.pdf
[filename4] => Delmar_Method_Gyplyner_Flooring.pdf
[filename5] => grinding and sharpening blades - method statement.pdf
any help appreciated!