My question is, how with PHP we can have an automated system, which can do this: If we have $seconds= 120; And the script should get this value, see that this
$seconds= 120;
You could use something as simple as:
$seconds = 120; $minutes = floor($seconds/60); echo $minutes.' min';
Am not really sure if I have understood your question properly though.