PHP Classes

Ad Rotator

Recommend this page to a friend!

      Ad Rotator  >  All threads  >  Ad Rotator  >  (Un) Subscribe thread alerts  
Subject:Ad Rotator
Summary:Getting an error where there should not be one.
Date:2007-02-19 22:25:28
Update:2007-02-20 07:07:15

  1. Ad Rotator   Reply   Report abuse  
Dave - 2007-02-19 22:25:28
I am getting an error that there are not enough images in the array to rotate.
You can see the image and link arrays at this page

If I specify more that 1 the error comes up. Currently I have the line
commented out so I donot get the error.

You can see from my page that I am getting data.

This stuff is getting real frustrating.

There must be an easy way to rotate ads in a vertical format from data taken from a table.

  2. Re: Ad Rotator   Reply   Report abuse  
Vedanta Barooah - 2007-02-20 07:07:15 - In reply to message 1 from Dave
are you trying to display more number of images than in the actual array?... try this (in case you use mysql):