I need to develop a simple ad server. I want to show ads one after another and if there are no more rows start from the beginning. Is there a simple way besides creating a counter?
The result from the ad server:
AD1, AD2, AD3, AD1...