Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pl">
- <head>
- <title>Test</title>
- <meta charset="UTF-8" />
- <?php
- require_once("pytania.php");
- ?>
- </head>
- <body>
- <?php
- echo '<form action="sprawdzenie.php" method="post">';
- for ($i=0;$i<10;$i++){
- echo 'Pytanie ' .$pytania[$i][0]. ' ' .$pytania [$i][1].'<br/>';
- echo '<input type="radio" name="pyt'.$pytania[$i][0].'" value="odp1"> '.$pytania[$i][2].'<br/>';
- echo '<input type="radio" name="pyt'.$pytania[$i][0].'" value="odp2"> '.$pytania[$i][3].'<br/>';
- echo '<input type="radio" name="pyt'.$pytania[$i][0].'" value="odp3"> '.$pytania[$i][4].'<br/>';
- }
- echo '<input type="submit" value="Gotowe">';
- echo '</form>';
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement