Example MySQL;
username work date(TIMESTAMP)
x 1 2012-08-08 12:15:33
x 3 2012-10-08 12:11:33
x 4 2012-08-08 11:15:33
x 2 2012-07-08 12:15:33
I want to take controle with just one rule;
X can only make 3 work mysql registry in 24 hours.
I could not find the true MySQL command for that. How can I controle that via MySQL and php?