title: php function to convert Unix timestamp into minutes or hours or days like digg?
body: <p>i want a php function to convert a unix time stamp to like this:</p>
  
  <p>15 seconds</p>
  
  <p>or</p>
  
  <p>45 minutes</p>
  
  <p>or</p>
  
  <p>3 hours</p>
  
  <p>and not like this : 2seconds, 5minutes, 9 hours</p>
  
  <p>i want only one value like digg ( made popular xx xxxxx )</p>
  
  <p>Thanks</p>