GET http://140.112.31.82/example.php?val=9
<?php
if(count($_GET)>0){
for($i=1;$i<=$_GET[“val"];$i++){
for($j=1;$j<=$_GET[“val"];$j++){
echo “$i*$j=".$i*$j."<br>";
}
echo “=======<br>";
}
}
?>
POST http://140.112.31.82/example2.php
<form action="" method="post" name="form1″><br>
Please input value:
<input name="val" type="text" value="9″>
<input name="submit" type="submit" value="ok"><br>
<?php
if(count($_POST)>0){
for($i=1;$i<=$_POST[“val"];$i++){
for($j=1;$j<=$_POST[“val"];$j++){
echo “$i*$j=".$i*$j."<br>";
}
echo “=======<br>";
}
}
?>