help needed for creating vertical bar

Discussion in 'PHP' started by kcm4web, Jan 22, 2010.

  1. #1
    hello there

    i need a help from u guys.. i am developing a donor database for my client. thing is that.. there is a vertical bar. admin will add dornors from backend. like 10, 15, 20..etc. the bar will gradually increase vertically. can any one guide me.. how to do this....i am doing it in php,mysql
     
    kcm4web, Jan 22, 2010 IP
  2. astkboy2008

    astkboy2008 Peon

    Messages:
    211
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    be describtive please
     
    astkboy2008, Jan 22, 2010 IP
  3. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You mean a vertical bar will display in the browser window? Like one of those thermometer graphs?

    Just use CSS. Count the number of donors and multiply by some constant to keep it a reasonable size, and then set the height of your bar <div> tag to the result.
     
    SmallPotatoes, Jan 22, 2010 IP