G'day, i'm trying to create a page that retreives up to 15 random records out of an SQL table to be displayed to a user, at the same time, they cannot be duplicates.
I dont quite know how to go about doing this effectivly. One method i was trying to use included nesting a while loop in a for loop to determine if each record retreived has a unique ID, but that led to a dead end with infinite loops.
Can someone point me in the direction of the best method for going about this?