This commit is contained in:
2023-04-20 11:27:24 +02:00
parent 4ecb2b62ca
commit 4964d61762
23 changed files with 373 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
input[type="text"]{
display:inline;
width:auto;
}

View File

@@ -0,0 +1,8 @@
<?php
$nombre=$_GET['table'];
echo "<h3> Table de $nombre </h3>";
for($i=1;$i<11;$i++){
$resultat=$i*$nombre;
echo "<li> $i x $nombre = $resultat </li>";
}
?>

View File

@@ -0,0 +1,21 @@
<?php
include 'include/controller.php';
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.classless.min.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<main>
<h4>Table de multiplication</h4>
<form method="GET">
<input type=number name="table" placeholder="table">
<button type="submit">ENVOYER</button>
</form>
</main>
</body>
</html>