I made a ban script where it updates the members list and put SET banned=Yes WHERE username=$_POST[username]
But now I would like to make timed bans, like if a user get banned for a day, he will be un-banned after his ban time.
Does anyone know how I could do this? I'm not pretty good with MySQL and times.