in reply to Reading Directory & Passing Files in Directory Into a Foreach Loop

an you plz see if there is at least one match which will be false for this check. last if ($date ne $datewant); i.e there is at least one case where there is $date and $datewant are equal
  • Comment on Re: Reading Directory & Passing Files in Directory Into a Foreach Loop
  • Download Code

Replies are listed 'Best First'.
Re^2: Reading Directory & Passing Files in Directory Into a Foreach Loop
by rayv (Novice) on Sep 04, 2007 at 11:03 UTC

    I am not sure what you are getting at here. When reading this particular directory, there will be both files in which the date will match and files in which the date will not match.