building a timer for controlled display of records

2001-03-23 Thread WCBaker

Hi!

Has anyone a nice example of a timer that will run on a Win OS?   It is to
be a timed display in which a record is retrieved from a MySql database
table and after 15 seconds the next record comes up for display.   Since the
application has to be responsive to user input during the "show" of records,
a loop that causes the OS to be unresponsive until the next display of a
record is to be avoided.
I have exausted examples in the manuals for both MySql and PHP4.

Any suggestions will be very much appreciated.

Cheers!

-Warren


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: building a timer for controlled display of records

2001-03-23 Thread René Tegel

well, i think you'll have to work with frames. 1 php script shows your
refreshing data, 1 script allows the user to enter data (this could be a
single script called with different parameters as well).

then in the refreshing script you put something like this before sending any
other data:
header ("Refresh: 15");
this will make the clients browser refresh this page every 15 seconds.
if you'd put those in different frames you client can enter data and see
refreshing data.

best regards,

rene

- Original Message -
From: "WCBaker" [EMAIL PROTECTED]
To: "MySQL" [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 2:13 PM
Subject: building a timer for controlled display of records


 Hi!

 Has anyone a nice example of a timer that will run on a Win OS?   It is to
 be a timed display in which a record is retrieved from a MySql database
 table and after 15 seconds the next record comes up for display.   Since
the
 application has to be responsive to user input during the "show" of
records,
 a loop that causes the OS to be unresponsive until the next display of a
 record is to be avoided.
 I have exausted examples in the manuals for both MySql and PHP4.

 Any suggestions will be very much appreciated.

 Cheers!

 -Warren


 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)

 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php