SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2001, 02:02 PM
gaviota gaviota is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: Switzerland (but argentine)
Posts: 1 gaviota User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Updating Graphics

I'm new in graphics web development.
I'm working with the Apache, PHP4.05, and MySQL Set.
I designed a small graphic display and I'd like to update every x time (for example every minute) the data stored in a database register and change that number in the display.

I've made first an 'imagePNG' routine, start a Tick routine and every minute the Tick routine has to refresh the web page but the program executes all the orders at the same time and the graphic is made only once.
I'd like to know hoy to make the page refresh.

Many thanks.

Reply With Quote
  #2  
Old September 5th, 2001, 10:36 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
That's not a graphics question -- that's an HTML/JavaScript question. Posting in the appropriate forum will net you faster responses. ;-)

There are a couple of methods you can use -- since you aren't being very specific as to your application, I'll just pick one and if it doesn't work for your scenario, you can provide more detail at that time.

Put the following in your head tag:
<meta http-equiv="refresh" content="10; URL=http://www.devshed.com/" />

"10" is a number in seconds.
"http://www.devshed.com/" is the URL of the page. You can use either an absolute or a relative URL (relative to the page that contains the code, so if it's that page that you are refreshing, you just put the name of that file here)

NOTE: that last slash is NOT a typo. It's required for XHTML 1.0 (the fact that the tags and attributes are all lowercase also is not a typo)
__________________
Michael

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Updating Graphics


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway