I'm no expert by any means, but couldn't you set a variable=now();
then when the user clicks again, set a variable2=now();
then subtract the difference and store the result?


Clayton Dukes
CCNA, CCDA, CCDP, CCNP
(c) 904.477.7825
(h) 904.292.1881
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net


----- Original Message -----
From: "James W Greene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:02 AM
Subject: [PHP] Question


> Hello,
>     I am in the need to do the following:
> A web form in which A user clicks on a timer button.  The after a certian
> amount of time the click a end timer button and the time is logged to a
> mysql dbase.  ANyone know how I could go about this.  I was thinking I
could
> store the start time in a cookie, and then when end timer button is
pressed
> I could read the value from the cookie, write it, and then destroy the
> cookie.  ANy ideas ?  Thanks
> Jim
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to