Hello,

I have only one table with the following fields:

table name : visitcount

ip
time
lastvisit
visitcount

I want to delete the users record every 24 hours. What I do is block ip for further posting until 24 hours later.

I have the following but it doesn't work and I am sure you guys can figure out why:

Code:
<?php				 
include ('db.php');
...