table de multiplication et formulaires
Conditions d’achèvement
la table de multiplication
<head>
<meta name="description" content="Our first page">
<link rel="stylesheet" type="text/css" href="bostyle.css">
</head>
<body>
<p>juste un paragraphe</p>
<b class="toto">Content</b> goes <i>here</i>. <br><br>
<img src="https://www.w3schools.com/tags/img_girl.jpg" alt="Girl in a jacket" width="50" height="60">
<a class="toto titi" href="https://www.w3.org/">W3C Website</a>
<p> un autre paragraphe</p>
<?php
if(isset($_GET['taille']))
$taille = $_GET['taille'];
else
$taille =10;
if(isset($_GET['recherche']))
$recherche = $_GET['recherche'];
else
$recherche =12;
?>
<table>
for($j=1; $j<$taille+1; $j++){
print("<tr>\n");
for($i=1; $i<$taille+1; $i++){
if($i==1 || $j==1)
print("<th class='ttt'>".($i*$j)."</th>\n");
else if($i*$j==$recherche)
else
}
print("</tr>\n");
}
?>
</table>
<?php
des bords : <input type="checkbox" name="bord" value="oui"></input><br>
<input type="hidden" name="taille" value='.$taille.'></input>
<label for="lname">Recherche:</label><br>
<input type="text" name="recherche" value="'.$recherche.'"><br>
<input type="submit" value="Submit">
</form>');
?>
</body>