Bobafart
06-01-2007, 09:58 PM
if I have a var called $totalSeconds, how do I divide it up into $minutes and $seconds.
my solution doesn't seem to work:
$minutes = round($totalSeconds/60);
$seconds = round($totalSeconds%60);
how to do this?
my solution doesn't seem to work:
$minutes = round($totalSeconds/60);
$seconds = round($totalSeconds%60);
how to do this?