I am trying to make a quote page. I would like it to show a random quote every time the page loads but also have a “Next Quote” button that changes to another random quote without repeating, unless of coarse you have gone through all the quotes. I have been trying for a few days now and haven’t gotten anywhere past loading a random quote on page load. If someone could please help me. Thanks.
Share
There are a couple of ways to do it.
Mark which ones the user has already seen, then when you do a SELECT, filter out the ones the user already saw.
Pre-create the random order, then keep track of which quote the user last viewed. For example, quote #8. You then show quote #9 next time. Whether y