Forum Moderators: coopster
The current image being displayed is test_0108.png (where 01-Jan, 08-2008). Now when the user clicks on NEXT, the current image should be replaced by test_0208.png.
So basically, when the user clicks on NEXT, the next month image should appear and when the user clicks on PREV, previous month's image should appear.
I would prefer to do this in PHP. This means the page needs to be reloaded instead of replacing the image on the go.
Please help me with this!
Thanks!
So wht i can do is:
<img src="test_<? echo $array[i] ?>.png></img>
That part is easy.
I just wanted the functionality for the next and previous button. I am almost there with the solution but somehow, its not 100% complete.Hence needed a helping hand from someone.
Hope this helps.