What about an if statement within each switch case?
I tried to look into your problem but it's hard to figure out what exactly is wrong unless I can re-create the problem or at least see what error message you are receiving.
No one has replied
Sounds good @MPG-Radio Thanks!
got it going and works just fine with some minor adjustments to fit the application.
That's so weird it works with this change..
Pretty good but I haven't been able to get it working...:)
Thank you, so now I know how to include more than one file and not just the files in a directory when moving a directory to another directory.
It's perfect, I did make that small change to delete from the images folder. Without your input, I likely wouldn't have figured that out. This is the small change made.
$curr_dir = './'.$dir . '/images';
So with more work, I have styled things up to be like this.
I will add that the purpose of all this was to manage the unneeded images that are placed in a directory via FTP from security cams. I hope I'm not rambling too much.
To do string concatenation in PHP you can use a period (dot)
Not sure if that is what you had in mind. Let me know.
What is $sectionamount ? Is that the same as $hoevelsections ?
What is the purpose of it? Are you trying to print all items in the last array you listed: