Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- echo "
- <form action='tabel.php' method='POST'>
- Vaelg Tabel:<br><input type='text' name='tabel'><br>
- Hvornår skal den stoppe?<br><input type='text' name='stop'><br>
- <input type='submit' value='Se tabel'>
- </form>
- ";
- $tabel = $_POST['tabel'];
- $stop = $_POST['stop'];
- $i = $tabel;
- while($i < $stop)
- {
- echo $i . "<br>";
- $i= $i + $tabel;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement