Probleme transfert formulair web sur page 1/2

Résolu/Fermé
cobra85 Messages postés 132 Date d'inscription mercredi 20 décembre 2006 Statut Membre Dernière intervention 15 novembre 2014 - 16 août 2007 à 09:59
cobra85 Messages postés 132 Date d'inscription mercredi 20 décembre 2006 Statut Membre Dernière intervention 15 novembre 2014 - 16 août 2007 à 10:06
Bonjours,

Voila je doit creer un site Intranet pour mon entreprise. Il doit y avoir un formulaire web de fournisseur et les données écrite doivent etre ensuite transferées dans un tableau sur une page web.

Voici le code du formulaire:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
   <head>
       <title>Liste des fournisseurs</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <STYLE id="MSODAPDEFAULTS" type="text/css">
				.MSTheme-Label { BORDER-RIGHT: 0px; PADDING-RIGHT: 3px; BORDER-TOP: 0px; PADDING-LEFT: 3px; OVERFLOW: visible; BORDER-LEFT: 0px; WIDTH: 1in; BORDER-BOTTOM: 0px; HEIGHT: 0.156in; TEXT-ALIGN: left; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				.MsoTextbox { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; OVERFLOW: hidden; WIDTH: 1in; HEIGHT: 0.197in; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma}
				.MsoBoundSpan { BORDER-RIGHT: 0px; PADDING-RIGHT: 3px; BORDER-TOP: 0px; PADDING-LEFT: 3px; OVERFLOW: hidden; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px; TEXT-ALIGN: left; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				.MsoHyperlinkDisplayText { BORDER-RIGHT: 0px; PADDING-RIGHT: 3px; BORDER-TOP: 0px; PADDING-LEFT: 3px; OVERFLOW: hidden; BORDER-LEFT: 0px; CURSOR: hand; BORDER-BOTTOM: 0px; TEXT-ALIGN: left; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				.Mso2dSection { LEFT: 0px; BEHAVIOR: url(#DEFAULT#Mso2dSection); OVERFLOW: hidden; POSITION: relative; TOP: 0px; BACKGROUND-COLOR: transparent }
				.Mso2dSectionBanner { PADDING-RIGHT: 4px; DISPLAY: none; PADDING-LEFT: 4px; FONT-WEIGHT: normal; LEFT: 0px; BEHAVIOR: url(#DEFAULT#Mso2dSectionBanner); PADDING-TOP: 2px; TOP: 0px; HEIGHT: 0.2in; BACKGROUND-COLOR: buttonface; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				.MsoRectangle { BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; OVERFLOW: hidden; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid }
				.MsoTitle { DISPLAY: none; FONT-WEIGHT: normal; COLOR: inactivecaptiontext }
				.MsoExpandCollapse { CURSOR: hand }
				.MsoNavContainer { BORDER-RIGHT: gainsboro 1px solid; BORDER-TOP: gainsboro 1px solid; Z-INDEX: -1; BORDER-LEFT: gainsboro 1px solid; CURSOR: hand; BORDER-BOTTOM: gainsboro 1px solid; POSITION: absolute; HEIGHT: 25px; BACKGROUND-COLOR: gainsboro}
				.MsoNavButton {	BORDER-RIGHT: gainsboro 1px solid; BORDER-TOP: gainsboro 1px solid; BORDER-LEFT: gainsboro 1px solid; CURSOR: auto; BORDER-BOTTOM: gainsboro 1px solid; BACKGROUND-REPEAT: no-repeat}				
				.MsoNavButtonMouseOver { BORDER-RIGHT: highlight 1px solid; BORDER-TOP: highlight 1px solid; BORDER-LEFT: highlight 1px solid; BORDER-BOTTOM: highlight 1px solid; BACKGROUND-COLOR: buttonhighlight}
				.MsoNavToggleButtonMouseOver { BORDER-RIGHT: highlight 1px solid; BORDER-TOP: highlight 1px solid; BORDER-LEFT: highlight 1px solid; BORDER-BOTTOM: highlight 1px solid; BACKGROUND-REPEAT: no-repeat; BACKGROUND-COLOR: buttonhighlight}
				.MsoNavButtonMouseDown { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonshadow 1px solid; BORDER-LEFT: buttonshadow 1px solid; CURSOR: hand; BORDER-BOTTOM: buttonshadow 1px solid; BACKGROUND-COLOR: buttonshadow }
				.MsoNavRecordsetLabel { BORDER-RIGHT: gainsboro 1px solid; BORDER-TOP: gainsboro 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 8pt; OVERFLOW: hidden; BORDER-LEFT: gainsboro 1px solid; WIDTH: 100%; CURSOR: default; PADDING-TOP: 0px; BORDER-BOTTOM: gainsboro 1px solid; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				.MsoRecordSelector { BORDER-RIGHT: Buttonshadow 1px solid; BORDER-TOP: Buttonshadow 1px solid; OVERFLOW: hidden; BORDER-LEFT: Buttonshadow 1px solid; WIDTH: 0.17in; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: gainsboro}
				.MsoRecordSelectorCurrent { BACKGROUND-POSITION: 1px 0px; BACKGROUND-IMAGE: url(owc://GIF/#11240); BACKGROUND-REPEAT: no-repeat }
				.MsoRecordSelectorSelectedImage { BACKGROUND-POSITION: 1px 0px; BACKGROUND-IMAGE: url(owc://GIF/#11241); BACKGROUND-REPEAT: no-repeat }
				.MsoRecordSelectorSelected { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonshadow 1px solid; LEFT: 0px; OVERFLOW: hidden; BORDER-LEFT: buttonshadow 1px solid; WIDTH: 0.17in; BORDER-BOTTOM: buttonshadow 1px solid; TOP: 0px; HEIGHT: 100%; BACKGROUND-COLOR: buttonshadow; POSTION: relative}
				.MsoRecordSelectorDirty { BACKGROUND-POSITION: -1px 0px; BACKGROUND-IMAGE: url(owc://GIF/#11242); BACKGROUND-REPEAT: no-repeat }
				.MsoRecordSelectorTransparent { LEFT: 0px; OVERFLOW: hidden; WIDTH: 0.17in; TOP: 0px; POSTION: relative }
				HR { COLOR: black }
				SELECT { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				INPUT { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				BODY { FONT-SIZE: 10pt; FONT-FAMILY: Tahoma }
				MARQUEE { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				LEGEND { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				BUTTON { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
				TEXTAREA { FONT-SIZE: 8pt; FONT-FAMILY: Tahoma }
			
				
		.Style0 { BORDER-STYLE: inset; BORDER-COLOR: transparent; COLOR: #000000; BACKGROUND-COLOR: #ffffff; BORDER-WIDTH: 2px; TEXT-ALIGN: general; FONT-WEIGHT: 400; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; FONT-STYLE: normal; VISIBILITY: visible; WRITING-MODE: lr-tb }
		.Style1 { BORDER-STYLE: none; BORDER-COLOR: #000000; COLOR: #000000; BACKGROUND-COLOR: transparent; BORDER-WIDTH: 1px; TEXT-ALIGN: general; FONT-WEIGHT: 400; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; FONT-STYLE: normal; VISIBILITY: visible; WRITING-MODE: lr-tb }
		.Style2 { BORDER-STYLE: inset; BORDER-COLOR: transparent; COLOR: #000000; BACKGROUND-COLOR: #ffffff; BORDER-WIDTH: 2px; TEXT-ALIGN: general; FONT-WEIGHT: 400; FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; FONT-STYLE: normal; VISIBILITY: visible; WRITING-MODE: lr-tb }
	</STYLE>
    </head>
<body>
    <form method="post" action="Tableaufournisseurs.php">   
    <p>
	Formulaire Fournisseurs <br />
	<fieldset>
		<legend> Coordonnées de l'entreprise </legend>
		Raison sociale : <input type="text" name="raison_sociale" tabindex="10" /><br />
		Secteur d'activité : <input type="text" name="secteur" tabindex="15" /><br />
		Adresse : <input type="text" name="adresse" tabindex="20" /><br />
		Code Postale : <input type="text" name="CP" tabindex="30" /><br />
		Ville : <input type="text" name="ville" tabindex="40" /><br />
		Pays : <input type="text" name="pays" tabindex="50" /><br />
		Numéro du standard : <input type="text" name="standard" tabindex="70" /><br />
		Fax : <input type="text" name="fax" tabindex="80" /><br />
	</fieldset>
	<fieldset>
		<legend> Coordonnées du contact </legend>
		Contact : <input type="text" name="contact" tabindex="90" /><br />
		Poste du contact : <input type="text" name="poste" tabindex="100" /><br />
		Ligne directe : <input type="text" name="ligne_directe" tabindex="110" /><br />
		Portable : <input type="text" name="portable" tabindex="120" /><br />
		E-mail : <input type="text" name="email" tabindex="130" /><br />
		Evaluation : <select name="eval" tabindex="140" >
						<option value="01">01</option>
						<option value="02">02</option>
						<option value="03">03</option>
						<option value="04">04</option>
						<option value="05">05</option>
						<option value="06">06</option>
						<option value="07">07</option>
						<option value="08">08</option>
						<option value="09">09</option>
						<option value="10">10</option>
					</select> 
					<br />
	</fieldset>
        Remarques :<br />
        <textarea name="remarques" rows="8" cols="35" tabindex="150" ></textarea> <br />
        <input type="submit" value="Envoyer" />
    </p>
    </form>
</body>
</html>
A voir également:

1 réponse

cobra85 Messages postés 132 Date d'inscription mercredi 20 décembre 2006 Statut Membre Dernière intervention 15 novembre 2014 3
16 août 2007 à 10:06
Suite du message précedent:

Voici le code de la page ou les donnée doivent apparetre apres transfert:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
	<head>
		<title>Liste des fournisseurs</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<style type="text/css">
			caption /* Titre du tableau */
			{
				margin:auto; /* Centre le titre du tableau */
				font-family:"Arial", Times, Times New Roman, serif;
				font-weight:bold;
				font-size:1.2em;
				color:blue;
				margin-bottom:20px; /* Pour éviter que le titre ne soit trop collé au tableau en-dessous */
			}

			table /* Le tableau en lui-même */
			{
				margin:auto; /* Centre le tableau */
				border:4px outset blue; /* Bordure du tableau avec effet 3D (outset) */
				border-collapse:collapse; /* Colle les bordures entre elles */
			}

			th /* Les cellules d'en-tête */
			{
				background-color:#006600;
				color:white;
				font-size:1.1em;
				font-family:Arial, "Arial Black", Times, "Times New Roman", serif;
			}

			td /* Les cellules normales */
			{
				border:1px solid black;
				font-family: "Comic Sans MS", "Trebuchet MS", Times, "Times New Roman", serif;
				text-align:center; /* Tous les textes des cellules seront centrés*/
				padding:5px; /* Petite marge intérieure aux cellules pour éviter que le texte touche les bordures */
			}		
		</style>
	</head>
	<body>
		<table>

			<caption>Liste des fournisseurs</caption>

			<thead> <!-- En-tête du tableau -->
				<tr>
					<th>Raison sociale</th>
					<th>Secteur d'activité</th>
					<th>Adresse</th>
					<th>Code postale</th>
					<th>Ville</th>
					<th>Pays</th>
					<th>Standard</th>
					<th>Contact</th>
					<th>Poste</th>
					<th>Ligne directe</th>
					<th>Portable</th>
					<th>E-mail</th>
					<th>Evaluation</th>
					<th>Remarques</th>

				</tr>
			</thead>
		</table>	   	
	</body>


lorsque que j'ecrit dans le formulaire et que je fait envoyer les donné n'apparaisse pas dans la page web. comment faire??
Merci
0