Jump to content


Random Ad Rotator


  • You cannot reply to this topic
No replies to this topic

#1 Korndawg

    Young Padawan

  • Members
  • Pip
  • 111 posts
  • Gender:Male
  • Location:Texas, USA

Posted 09 July 2008 - 10:12 AM

Hi P2L,

I have been looking around for awhile now but I can't find exactly what I am looking for. What I need is an ad that changes after X amount of seconds and always builds it's array at random. I found one tutorial that does most of this, except for the randomizing, but I can't find anything where I can use PHP>MySql to pull the files off of the DB. Example of what I am talking about

I am probably just searching for the wrong terms. Just wondering if any of you have ever ran across something like this or can think of a better search term for me to use.

Thanks!

EDIT: BTW, I haven't tried yet, but can you interlace javascript and php? As in use a PHP array to build a Javascript array.

Edited by Korndawg, 09 July 2008 - 10:28 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users