I have a folder with many images with different names, for example 123_456_789_***_***.bmp
The "123", "456", "789" are values that i get from a database and the "***" can be different characters, that are different for each image.
I want to show these images but i can't find a way to 'search' in the name of the image, in order to find "***" characters and use it.
For example:
Code: Select all
echo "<img src='images/".$id1 ."_" .$id2 . "_" . $id3 . "_" .*** . "_" . *** . ".bmp' >";Is there a way to solve this problem?
Thanks a lot!