title: PHP: Compute the duration [seconds/minutes]
body: <p>I have a database and also have a fields for fldDuration. Where everytime I input some commercial it also have a field for duration. The fldDuration is the actual time of the commercial.</p>
  
  <p>Example:</p>
  
  <p>fldCommercialName, fldDuration and fldTotalDuration
  I insert a value..</p>
  
  <p>Commercial Name: NIKE [inputted]</p>
  
  <p>Duration: 15 seconds [inputted]</p>
  
  <p>Total Duration: 11:45 mins [will be appeared based on computation of fldDuration and fldTotalDuration and after I click the button]</p>
  
  <p>So the total of per commercial is 12 mins. So for this example I will deduct the 15 sec to 20 mins. Then the total now is 11:45 mins [this is the remaining duration for the commercial].</p>
  
  <p>Problem: How can I do that like what I said above this message.</p>
  
  <p>*I don't have any code's yet for this because I don't know how I will do the computations.</p>
  
  <p>Thanks.</p>