I have been trying to take an array i have, delete the values that do not have 28 chars in them. I suppose the strlen not equal to 28.
But how do I grab the array strip it down to the values I want in it and rename the array and print it.
Does that make any sense at all?
$dir = 'testfiles';
$files1 = scandir($dir);
print_r($files1); // this the array I need to get rid of some of the values in it. I only want the file names that are 28 chars long.
Any suggestion would be helpful, I have been searching the forums and web for 3 hours now and haven't found much to help me. I may just be searching for the wrong thing.
Thanks in advance for any help.
-joey