This commit is contained in:
2019-06-30 20:13:22 +02:00
parent f6622b65c3
commit 08d32944cf

View File

@@ -17,7 +17,7 @@ echo <<<END
<form action="/hangman-guess.php" method="post"> <form action="/hangman-guess.php" method="post">
END; END;
//Output all buttons //Output all buttons
$alphabet = range('A', 'Z')); $alphabet = range('A', 'Z');
foreach($alphabet as $abc) { foreach($alphabet as $abc) {
echo <<<END echo <<<END
<button name="$abc" type="submit" value="$abc">$abc</button> <button name="$abc" type="submit" value="$abc">$abc</button>