PHP beginner here. I’ve written a (probably lousy) function to pull file (image) names from a folder and store them in an array, and then loop through the array according to which array the visitor chose to display… um. That made no sense; check this out instead:
Now, what I want to do is not display the images all at once, but start with the first one and let the user click a button when they want to see the next one. Not too complicated (I think?) but I don’t even know where to begin. I had some vague idea about using isset() to see if "bildserie" had been set to anything, and then somehow… displaying the next array item… when the user clicked a button that… and then I’m lost. Help? A nudge in the right direction?
Yeah, finding solutions – I think I’ve been bitten by the code bug. The good kind of bug, where you get all absorbed and forget about things like eating and the hours passing. I know this is very basic, but it’s been FUN. :)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".