newbie-reset in database

wxdqz

New Member
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
---------------------------------------
<!-- m --><a class="postlink" href="http://www.yahoo.com">http://www.yahoo.com</a><!-- m --> | 100
--------------------------------------

Thank You!
 
Back
Top