[PHP] reset in mysql?

2001-03-12 Thread McShen

hi

I have a database which tracks how many hits a website has sent me. I wanna
write a script to reset this particular field so that it will be zero at
12:00 in the morning. How do i do it? Any suggestion would be appreciated.

my database is kinda like this(mysql

url | hits
---
http://www.yahoo.com  | 100
--

Thank You!



-- 
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]




RE: [PHP] reset in mysql?

2001-03-12 Thread Cal Evans

run it in a CRON job.

Cal
http://www.calevans.com
 

-Original Message-
From: McShen [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 10:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] reset in mysql?


hi

I have a database which tracks how many hits a website has sent me. I wanna
write a script to reset this particular field so that it will be zero at
12:00 in the morning. How do i do it? Any suggestion would be appreciated.

my database is kinda like this(mysql

url | hits
---
http://www.yahoo.com  | 100
--

Thank You!



-- 
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]