Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

repeat random records (ASP) - (Ultradev)

Status
Not open for further replies.

Raisor

Technical User
Oct 23, 2001
5
DE
Hello everyone,

I am building my own small little banner script with Ultradev, and everything goes just great, except I want to have the the banners repeated on the page and in random order (without appearing double) anyone knows how I need to do this in ASP/VB?

Thanks in Advance!

Evan
 
Why not put all the banner IDs into an array to start with, select a position in the array at random, remove that ID and rebuild the array with one less element and do it again...the array and therefore the list of IDs getting smaller each selection.

Would work well I think
Steve Davis
hey.you@hahaha.com.au
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top