Hello, I need to write some php code to display all images that are in a folder. For each image, I need to display certain information against each image...
Fir example, I have images that are named as follows...
SO12345_BOX01_LAYER_01_DT20201016155402.jpg
I need to separate the values out of the name into..
SO = SO12345
BOX = BOX01
LAYER = LAYER_01
DATETIME = DT20201016155402
Please can anyone advise?
Many thanks
BF
Fir example, I have images that are named as follows...
SO12345_BOX01_LAYER_01_DT20201016155402.jpg
I need to separate the values out of the name into..
SO = SO12345
BOX = BOX01
LAYER = LAYER_01
DATETIME = DT20201016155402
Please can anyone advise?
Many thanks
BF