Thanks for the response.
I can't get your suggestion to work. I don't want to print out all lines randomly, I would like each line printed one at a time, in order they are listed in the banners.dat file.
I keep track of my sponsors in the banners.dat file including their link|image|width|height|alt tags
I use the script (the one I posted) to show a random banner at the top of each page. I want to be able to show all my current sponsors on a separate page.
Hope that makes sense.