hip1/7.1.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 $spelwoord = "tweezitscrapaudtje"; for($i=0;$i < strlen($spelwoord);$i++){ echo substr($spelwoord, $i, 1); echo "-"; } ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse