Bonjour,
Pour commencer je m'excuse d'avance sur le code que je vais faire suivre.
Je suis complètement novice et tente de travailler avec kompozer en bricolant avec quelques codes que je trouve sur internet.
Jusqu'a aujourd'hui ça m'avait plutot réussi.
J'ai créer un formulaire sur une base de 6 tableaux pour faciliter ma mise en page.
Jusque là tout va bien.
J'ai créé une page formulaire.php qui m'envoi les données sur ma page envoi.php
lorsque je clique sur le bouton OK ça me renvoie donc sur ma page envoi.php mais seulement le 1er tableau est rempli.
Auriez vous une explication svp?
Voici ma page avec le formulaire
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Fiche réglage</title>
</head>
<body style="color: rgb(0, 0, 0); background-color: red;"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1055px; height: 689px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr style="background-color: red; font-weight: bold;" align="center">
<td colspan="3" rowspan="1"
style="vertical-align: top; height: 150px; width: 150px; background-color: white;"><img
style="border: 0px solid ; width: 1039px; height: 242px;" alt=""
src="../Images/logo.png"> </td>
</tr>
<tr>
<td
style="vertical-align: top; height: 183px; background-color: white; text-align: center; width: 150px;"><br>
</td>
<td
style="vertical-align: top; height: 183px; background-color: white; text-align: center;">
<form method="post" action="envoi.php" name="Réglage PJC">
<table
style="text-align: left; width: 730px; background-color: transparent;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td colspan="4" rowspan="1"
style="vertical-align: top; text-align: center; width: 264px;"><input
style="text-align: center;" name="Titre" value="Nom de la voiture"></td>
</tr>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;"><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 177px;"><br>
</td>
<td
style="vertical-align: top; width: 264px; text-align: center;"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px; background-color: transparent;">Régleur<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><input
style="text-align: center;" name="Régleur"><br>
</td>
<td colspan="2" rowspan="1"
style="vertical-align: top; text-align: center; width: 177px;">Commentaires<br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px; background-color: transparent;">Team<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><input
style="text-align: center;" name="Team"><br>
</td>
<td colspan="2" rowspan="4"
style="vertical-align: top; text-align: center; width: 177px;"><textarea
cols="40" rows="5" name="Sensations"></textarea><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;">Circuit<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><input
style="text-align: center;" name="Circuit"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;">Météo<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><input
style="text-align: center;" name="Météo"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;">Chrono
au tour<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><input
style="text-align: center;" name="Chrono" value="00:00:000"><br>
</td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 720px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr align="center">
<td colspan="3" rowspan="1"
style="vertical-align: top; background-color: black;"><big
style="text-decoration: underline; color: white;"><big><big><span
style="font-weight: bold;">AVANT</span></big></big></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;">Barre
stabilisatrice<br>
</td>
<td style="vertical-align: top; text-align: center;">Angle
de pincement<br>
</td>
<td style="vertical-align: top; text-align: center;">Appuis<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;"><input
style="text-align: center;" name="Barre stabilisatrice AV"><br>
</td>
<td style="vertical-align: top; text-align: center;"><input
style="text-align: center;" name="Angle de pincement AV"><br>
</td>
<td style="vertical-align: top; text-align: center;"><input
style="text-align: center;" name="Appuis AV"><br>
</td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 720px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td
style="vertical-align: top; text-align: center; font-weight: bold; color: white; background-color: black;"><big><big>Avant
Gauche<br>
</big></big></td>
<td
style="vertical-align: top; font-weight: bold; color: white; background-color: white;"><big><big><br>
</big></big></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold; color: white; background-color: black;"><big><big>Avant
Droit<br>
</big></big></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Pression AVG"><br>
</td>
<td style="vertical-align: top; text-align: center;">Pression
des pneus<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Pression AVD"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Angle de chasse AVG"><br>
</td>
<td style="vertical-align: top; text-align: center;">Angle
de chasse<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Angle de chasse AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Carrossage AVG"></td>
<td style="vertical-align: top; text-align: center;">Carrossage<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Carrossage AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Garde au sol AVG"></td>
<td style="vertical-align: top; text-align: center;">Garde
au sol<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Garde au sol AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Niveau des ressorts AVG"></td>
<td style="vertical-align: top; text-align: center;">Niveau
des ressorts<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Niveau des ressorts AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Butée AVG"></td>
<td style="vertical-align: top; text-align: center;">Butée<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Butée AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Compression lente AVG"></td>
<td style="vertical-align: top; text-align: center;">Compression
lente<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Compression lente AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Rebond lent AVG"></td>
<td style="vertical-align: top; text-align: center;">Rebond
lent<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Rebond lent AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Compression rapide AVG"></td>
<td style="vertical-align: top; text-align: center;">Compression
rapide<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Compression rapide AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Rebond rapide AVG"></td>
<td style="vertical-align: top; text-align: center;">Rebond
rapide<br>
</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Rebond rapide AVD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Pression ARG"></td>
<td style="vertical-align: top; text-align: center;">Pression
des pneus</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Pression ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Carrossage ARG"></td>
<td style="vertical-align: top; text-align: center;">Carrossage</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Carrossage ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Garde au sol ARG"></td>
<td style="vertical-align: top; text-align: center;">Garde
au sol</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Garde au sol ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Niveau des ressorts ARG"></td>
<td style="vertical-align: top; text-align: center;">Niveau
des ressorts</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Niveau des ressorts ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Butée ARG"></td>
<td style="vertical-align: top; text-align: center;">Butée</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Butée ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Compression lente ARG"></td>
<td style="vertical-align: top; text-align: center;">Compression
lente</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Compression lente ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Rebond lent ARG"></td>
<td style="vertical-align: top; text-align: center;">Rebond
lent</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Rebond lent ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Compression rapide ARG"></td>
<td style="vertical-align: top; text-align: center;">Compression
rapide</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Compression rapide ARD"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;"><input
style="text-align: center;" name="Rebond rapide ARG"></td>
<td style="vertical-align: top; text-align: center;">Rebond
rapide</td>
<td style="vertical-align: top;"><input
style="text-align: center;" name="Rebond rapide ARD"></td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; font-weight: bold; color: white; background-color: black;"><big><big>Arrière
Gauche<br>
</big></big></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold; color: white; background-color: white;"><big><big><br>
</big></big></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold; color: white; background-color: black;"><big><big>Arrière
Droit<br>
</big></big></td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>
et voici celle de la page envoi.php
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Fiche réglage</title>
</head>
<body style="color: rgb(0, 0, 0); background-color: red;"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1055px; height: 689px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr style="background-color: red; font-weight: bold;" align="center">
<td colspan="3" rowspan="1"
style="vertical-align: top; height: 150px; width: 150px; background-color: white;"><img
style="border: 0px solid ; width: 1039px; height: 242px;" alt=""
src="../Images/logo.png"> </td>
</tr>
<tr>
<td
style="vertical-align: top; height: 183px; background-color: white; text-align: center; width: 150px;"><br>
</td>
<td
style="vertical-align: top; height: 183px; background-color: white; text-align: center;">
<form method="post" action="envoi.php" name="Réglage PJC">
<table
style="text-align: left; width: 730px; background-color: transparent;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td colspan="4" rowspan="1"
style="vertical-align: top; text-align: center; width: 264px;"><big
style="text-decoration: underline;"><big><big><big><b><?php $T = htmlentities($_POST['Titre']);
echo "$T";?></b></big></big></big></big><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;"><span
style="text-decoration: underline; font-weight: bold;">Date</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $date = date("d-m-Y");
Print("$date");
?><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 177px;"><br>
</td>
<td
style="vertical-align: top; width: 264px; text-align: center;"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px; background-color: transparent;"><span
style="font-weight: bold; text-decoration: underline;">Régleur</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $R = htmlentities($_POST['Régleur']);
echo "$R";?>
<br>
</td>
<td colspan="2" rowspan="1"
style="vertical-align: top; text-align: center; width: 177px;"><span
style="text-decoration: underline; font-weight: bold;">Commentaires</span><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px; background-color: transparent;"><span
style="font-weight: bold; text-decoration: underline;">Team</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $Te = htmlentities($_POST['Team']);
echo "$Te";?><br>
</td>
<td colspan="2" rowspan="4"
style="vertical-align: top; text-align: center; width: 177px;"><?php if (isset($_POST['Sensations']))
{
echo $_POST['Sensations'];
}?><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;"><span
style="font-weight: bold; text-decoration: underline;">Circuit</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $Ci = htmlentities($_POST['Circuit']);
echo "$Ci";?>
<br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;"><span
style="font-weight: bold; text-decoration: underline;">Météo</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $M = htmlentities($_POST['Météo']);
echo "$M";?><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 115px;"><span
style="font-weight: bold; text-decoration: underline;">Chrono
au tour</span><br>
</td>
<td
style="vertical-align: top; text-align: center; width: 134px;"><?php $C = htmlentities($_POST['Chrono']);
echo "$C";?><br>
</td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 720px;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr align="center">
<td colspan="3" rowspan="1"
style="vertical-align: top; background-color: black;"><big
style="text-decoration: underline; color: white;"><big><big><span
style="font-weight: bold;">AVANT</span></big></big></big><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; text-align: center; width: 240px;">Barre
stabilisatrice<br>
</td>
<td
style="vertical-align: top; text-align: center; width: 240px;">Angle
de pincement<br>
</td>
<td style="vertical-align: top; text-align: center;">Appuis<br>
</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;"><?php if (isset($_POST['Barre stabilisatrice AV']))
{
echo $_POST['Barre stabilisatrice AV'];
};?>
<?php if (isset($_POST['Barre stabilisatrice AV']))
{
echo $_POST['Barre stabilisatrice AV'];
}?><br>
</td>
<td style="vertical-align: top; text-align: center;"><?php $A = htmlentities($_POST['Angle de pincement AV']);
echo "$A";?><br>
</td>
<td style="vertical-align: top; text-align: center;"><?php $AA = htmlentities($_POST['Appuis AV']);
echo "$AA";?><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
</body>
</html>
Afficher la suite