Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
<?php 
if(isset($_GET['test']{
for ($x = $_GET['test']; $x <10; $x++) {
    echo "The number is: $x <br>";
} 
}?>
 
<form method="get">
<input type="text" name="test">
<input type="submit"></form>