Hello again all,
I'm needing some help with a new if/than statement for my website's photo gallery (custom coding it). Here's what I need help with:
$pictot is a number, any number at all.
I need it so that if the number is, say, 27, then it will make an array with all of the following:
$prefix001.jpg
$prefix002.jpg
$prefix003.jpg
.....
$prefix026.jpg
$prefix027.jpg
($prefix has been determined earlier in the file)
Also, it must be 3 digits, for example:
1 = 001
17 = 017
393 = 393
You get the picture. 🙂
Any help will be greatly appreciated.
~ Reality
Owner of MIRollerCoast.com