|
-
May 17th, 2005, 11:21 AM
#1
Thread Starter
PowerPoster
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?
-
May 17th, 2005, 11:39 AM
#2
Lively Member
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.
-
May 17th, 2005, 11:51 AM
#3
Fanatic Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|