1<html>
2 <head>
3 <meta charset="utf-8">
4 <title>
5 Lição 2
6</title>
7<body>
<form name="Forml" id="Forml" method="post" action="">
<input type="text" name="executa" id="executa"/> 9
<input type="submit" name="Submit" value="Executar"/> 10
</form> 11
<?php 12
$Cont=17 14
if (isset($_POST["Executa"])) 16
13
15
17日
18
19
20
Sexecuta $_POST["executa"];
21日
22
23
24
25
26
while ($Cont <= Sexecuta)
echo O valor atual do contador é Cont <br>";
$Cont++;