klas 5/P2/phpserver/H7/7.5.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 $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>

Resultaat

Made by Thijs Aarnoudse