Hallo beginners-cgi,

  i have a function i called get_minutes and get_seconds.
  
  $total_time = get_minutes('abc.mp3') + ':' + get_seconds('abc.mp3');

  the result in $total_time is "3:1", but it should be "03:01".

  how can i fill up the strings with a leading zero if the returned
  value is only one char?

-- 

MfG...
      ...Olav

FidoNet: 2:240/5138



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to