Skip to content
Snippets Groups Projects
Commit d58e5540 authored by user's avatar user
Browse files

additional code

parent 4ba03c44
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html >
<html lang="fr">
<head>
<title>ajout de citation </title>
<meta charset="UTF-8">
</head>
<body>
<main>
<article>
<header><h1>Formaire de création de citations</h1></header>
<form method="post" name="FrameCitation" action="viewCitation.php">
<table border="1" bgcolor="#ccccff" frame="above">
<tbody>
<tr>
<th><label for="login">Login</label></th>
<td><input name="login" maxlength="64" size="32"></td>
</tr>
<tr>
<th><label for="citation">Citation</label></th>
<td><textarea cols="128" rows="5" name="citation"></textarea></td>
</tr>
<tr>
<th><label for="auteur">Auteur</label></th>
<td><input name="auteur" maxlength="128" size="64"></td>
</tr>
<tr>
<td colspan="2" align="center" ><input name="Envoyer" value="Enregistrer la citation" type="submit"><input name="Effacer" value="Anner" type="reset"></td>
</tr>
</tbody>
</table>
</form>
</article>
</main>
</body>
</html>
\ No newline at end of file
<html>
<head>
<link rel="stylesheet" href="../../styles.css">
<title>Page d'Accueil</title>
</head>
<body>
<p><a href="multi/tablesMultiplication.php">tables Multiplication</a></p>
<?php
for ($i = 1; $i <= 10; $i++) {
echo "<p><a href='multi/tableMultiplication.php?numero=$i&taille=10'>Table $i</a></p>";
}
?>
</body>
</html>
\ No newline at end of file
......@@ -8,7 +8,7 @@ $taille = isset($_GET['taille']) ? intval($_GET['taille']) : 10; // Default to 1
echo "<div style='display: flex; flex-wrap: wrap; gap: 10px;'>"; // Flex container
echo "<div style='flex: 1 0 100%;'>"; // Flex item taking 100% width for the header
echo "<h2>Tables de multiplication paramétrées</h2>";
echo "<h2>Table de multiplication de $numero</h2>";
echo "</div>";
// Display the table based on parameters
......
<?php
include 'function.php';
// Appel de la fonction avec le numéro de table 6 et une taille de 15
tableMult(6, 15);
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment