Missing ids

admin

Administrator
Staff member
I am storing banners in a mysql database, each banner has an id that unique. I use a php script to generate a random number then display that banner that's associated with the number based on its id. But I have a problem because some of the banners have been removed so those ids no longer exist, is their a way to assign banners to id numbers that have been skipped or removed?
 
Back
Top