title: How do I create a timed ban on an account? (PHP/mysql)
body: <p>I want to create a function that allows me to ban an account for 10days. 
  In the dbc, I have a field called "ban" and Boolean of 1=notban, 0=ban. I also have a field called "date_banned" which is just the timestamp of when the user got banned. </p>
  
  <p>My question is how do I create a time frame of 10days from the date the user was banned?</p>
  
  <p>ex: James was banned on "2010-05-03 20:43:48". So how can I go about adding 10days to the timestamp? And after 10days, it would set the "ban" equal to 1(which is not banned).</p>
  
  <p><strong>EDIT:</strong> how can i show how many days the user has left of a ban? ex: 8 more days till unban</p>
  
  <p>Can I...do NOW()-$date_banned? or how do I subtract the ban date from the current date?</p>