B1.php
<!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
$dagen = 10
$uren = 24
$minuten = 60
$seconden = 60
$secondenpdag = seconden($dagen, $uren, $minuten, $seconden)
function seconden ($dagen, $uren, $minuten, $seconden){
$secondenpdag = $dagen * $uren * $minuten * $seconden
return $secondenpdag
}
echo $secondenpdag
?>
</body>
</html>
Resultaat
Made by Thijs Aarnoudse