Here is my current code:
$files = glob("*.jpg");
This works fine. However, I am wanting to list other image types, such as .png, gif etc.
Can I please have some help to modify this above code to get it working. I have tried the following with no success:
$files = glob("*.jpg","*.png","*.gif"); $files = glob("*.jpg,*.png,*.gif);
And other variations...