Im looking for a quick script that can randomly display one of many slogans!

Discussion in 'Scripts' started by Sullmoney, Nov 12, 2006.

  1. #1
    I want to have a witty slogan or quote at the top of every page of my site. I want to make a database of 100's of these and have one appear randomly on every pageload. Can someone help me out?
     
    Sullmoney, Nov 12, 2006 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    Use JavaScript to do that..Details
     
    Richie_Ni, Nov 12, 2006 IP
  3. RRWH

    RRWH Active Member

    Messages:
    821
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    70
    #3
    There are a lot of ways to do this - A simple PHP script to extract a random quote from a database is one way - such a script is trivial to write.
     
    RRWH, Nov 12, 2006 IP
  4. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #4
    useing rand from array should work for you
     
    bobby9101, Nov 13, 2006 IP
  5. jijigren

    jijigren Well-Known Member

    Messages:
    491
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Is there any free php script out there that can do this..? Im do not know how to write script
     
    jijigren, Sep 15, 2007 IP
  6. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #6
    sawz, Sep 16, 2007 IP