1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

daily content rotator

Discussion in 'Content Management' started by Lpspider, Sep 24, 2005.

  1. #1
    I need a script that will rotate content displaying new (text) each day. some help?
     
    Lpspider, Sep 24, 2005 IP
  2. uca

    uca Well-Known Member

    Messages:
    2,242
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    155
    #2
    There are so many, JS or PHP, which kind do you prefer?

    Did you google it?

    Or you could check a script site such as hotscripts.com and many many others...
     
    uca, Sep 25, 2005 IP
  3. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #3
    I googled it and got some results that were decent - but no timed results. I want to have (for example) a different quote showing each day, but I couldn't find anything like that.

    Php would be best, but I know very little of it.
     
    Lpspider, Sep 28, 2005 IP
  4. Shadow

    Shadow Peon

    Messages:
    191
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Didn't check but this should work. Just to give you something you can work on :)

    <?PHP
    $quote = rand(1,3);
    	if ($quote == 1) { echo 'This is quote one'; }
    	if ($quote == 2) { echo 'This is quote two'; } 
    	if ($quote == 3) { echo 'This is quote three'; } 
    ?>
    PHP:
     
    Shadow, Sep 29, 2005 IP
  5. mike323

    mike323 Well-Known Member

    Messages:
    1,594
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #5
    go to google and type in quotes: "full text feed" or "full text feeds" or "full text rss feed"
     
    mike323, Jul 11, 2006 IP