Results 1 to 3 of 3

Thread: Dynamic 'Market'

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Dynamic 'Market'

    Ok i'm still learning php and have been toying with the idea of creating a small game to expand my knowledge!

    Now then one part that puzzles me is lets say I have a stock market, which is going to rise and fall, how do i make the amrket appear if it changing all the time? do i use a php script? or do i use another language to interect with the server?

  2. #2
    Lively Member
    Join Date
    Dec 2004
    Location
    Canada
    Posts
    95

    Re: Dynamic 'Market'

    All you need to use is html's Meta tag:
    PHP Code:
    <META HTTP-EQUIV=Refresh CONTENT="5; URL=http://www.yoursite.com/yoururl.php"
    It will refresh in every 5 seconds. You can change 5 to number you like.

  3. #3
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: Dynamic 'Market'

    you could probably do it with JavaScript (but not sure) or like RyanEllis said have it refresh the page every 5 seconds
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width