<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
$seconden = aantalseconden(5,4,3);
echo("Dit is gelijk aan $seconden seconden.");
function aantalseconden ($uren, $minuten, $seconden){
$seconden = ($uren*60*60)+($minuten*60)+$seconden;
return $seconden;
}
?>
</body>
</html>
Made by Thijs Aarnoudse