hip1/11.2/secondpage.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 $h = $_GET['hours']; $m = $_GET['minutes']; $s = $_GET['seconds']; echo timec($h, $m, $s).' seconds'; function timec($h, $m, $s){ return $h*3600 + $m*60 + $s; } ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse