quick php help!
quick php help!
Out of context: Reply #6
- Started
- Last post
- 7 Responses
- enobrev0
well, paul was stating that the $show variable is being set as 1. Since it's 1, it's going to start at the 1st image every time.
What you have to do in that loop that gathers the images into an array is have it look for the current date. If it finds the file is named after the current date, set $show to the array index of that image.
That's the english of it, now you just need someone to code it for you.
Meanwhile, I'm going to go have a drink..
Good Luck!