Bonjour,quelle est le problème avec $domaine dapplication=$_POST["domaine dapplication"];?
dans une page php
<style type="text/css">
<!--
.Style1 {color: #FFFFFF}
.Style12 {font-size: 12;
font-weight: bold;
}
.Style13 {color: #D4D0C8; font-size: 14px; }
.Style15 {color: #FFFFFF}
.Style17 {font-size: 12}
.Style22 {font-size: 14px}
.Style23 {color: #FFFFFF; font-size: 18px; }
.Style24 {color: #FFFFFF; font-size: 14px; }
.Style26 {font-size: smaller}
.Style27 {font-size: 9px}
.Style28 {font-size: 9}
.Style30 {font-size: 18px}
.Style7 {color: #D4D0C8}
.Style31 {color: #FF0000}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
color: #FFFF00;
}
a:active {
text-decoration: none;
color: #444444;
}
.Style32 {
font-family: "Times new roman";
font-size: 18px;
}
.Style34 {color: #D4D0C8; font-size: 14px; font-family: "Times new roman"; }
.Style35 {font-size: 18px; font-weight: bold; font-family: "Times new roman"; }
.Style36 {font-size: 18px; font-weight: bold; }
-->
</style>
<body>
<table width="1020" border="0" align="center" cellspacing="0" bgcolor="#000000">
<tr>
<td width="173" height="22" bgcolor="#444444"><span class="Style7"></span></td>
<td width="927" bgcolor="#AA0000"><div align="right" class="Style1"></div></td>
</tr>
<tr>
<td height="113" colspan="3" bgcolor="#444444"><div align="right"><img src="images/logo.JPG" width="853" height="114" /> </div></td>
</tr>
<tr>
<td height="2" bgcolor="#444444"></td>
<td rowspan="2" bordercolor="#AA0000" bgcolor="#AA0000"><p class="MsoNormal" align="center" style='text-align:center;line-height:normal'> </p>
<p class="MsoNormal" style='text-align:justify;line-height:normal'>
<!-- ImageReady Slices (interne.psd) -->
<?php
// connexion à la base
include("conn.php");
//recupération des données
$entreprise=$_POST["entreprise"];
$fonction=$_POST["fonction"];
$adresse=$_POST["adresse"];
$pays=$_POST["pays"];
$fax=$_POST["fax"];
$domaine dapplication=$_POST["domaine dapplication"];
$secteur dactivite=$_POST["secteur dactivite"];
$telephone=$_POST["telephone"];
$e_mail=$_POST["e_mail"];
if ( strcmp($entreprise,'') && strcmp($fonction,'') && strcmp($telephone,'') && strcmp($e_mail,''))
{
//recuperation du dernier Id_Client
$requete='select MAX(id_contact) from contacts';
$resultat=mysql_query($requete,$connexion);
$MAX=mysql_fetch_row($resultat);
$MAX=$MAX[0]+1;
$requete ='insert into contacts values('.$MAX.',"'.$entreprise.'","'.$fonction.'","'.$.'","'.$adresse.'","'.$pays.'","'.$fax.'",'.$domaine dapplication.',"'.$secteur dactivite.'","'.$telephone.'","'.$e_mail.'")';
echo $requete;
$resultat=mysql_query($requete,$connexion);
//header("location:ListeClient.php");
}
else
{
?>
<form id="form1" name="form1" method="post" action="contacts.php">
<table cellspacing="0" cellpadding="0" width="778" align="center" border="0">
<!--DWLayoutTable-->
<tbody>
<tr>
<td valign="top" height="522"><table cellspacing="0" cellpadding="0" width="778" align="center" border="0">
<!--DWLayoutTable-->
<tbody>
<tr>
<td valign="top" colspan="19" height="423"><table class="celecrirure" cellspacing="0" cellpadding="0" width="100%"
background="contacts_fichiers/bg_7.gif" border="0">
<!--DWLayoutTable-->
<tbody>
<tr>
<td valign="top" width="1" bgcolor="#bf311a" rowspan="3"><img height="1"
src="contacts_fichiers/pixel.gif" width="1" /></td>
<td width="32"></td>
<td valign="top" width="1" bgcolor="#bf311a" rowspan="3"><img height="1"
src="contacts_fichiers/pixel.gif" width="1" /></td>
</tr>
<tr>
<td height="51"></td>
<td valign="top" align="left"><object
codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "
height="40" width="400"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="images/contacts.swf" />
<param name="quality" value="high" />
<embed src="images/contacts.swf" quality="high"
pluginspage="
https://get.adobe.com/flashplayer/ "
type="application/x-shockwave-flash" width="400"
height="40"></embed>
</object></td>
<td></td>
</tr>
<tr>
<td height="372"></td>
<td valign="top" colspan="2"><table class="cellien" cellspacing="0" cellpadding="0" width="80%"
align="center" border="0">
<!--DWLayoutTable-->
<tbody>
<tr bgcolor="#b1b1b1">
<td class="celpecrirure" valign="top" align="left" width="311"
height="70"><p align="left"><span class="Style30"><strong><font color="#ffffff">CONCEPT DESIGN</font></strong></span><span class="Style30"></span></span></span><span class="Style27"><span class="Style28"><span class="Style22"><font color="#ffffff"><br />
Zone
Industrielle Saint Gobain<br />
Route Z4 1009 Djebel
Jelloud<br />
Tunis Tunisie </font></span></span></span></p></td>
<td valign="top" width="307"><p class="Style26"><span class="Style13"><font color="#ffffff">Tél :
+216 71 396 853<br />
Fax : +216 71 396
666</font></span></p>
<p class="Style24">E_mail: FAROUK.CORIAN@yahoo.fr</p></td>
</tr>
<tr>
<td class="celpecrirure" valign="center" align="middle"
colspan="2" height="58"><div align="center" class="Style23">Nous vous remercions pour l'intérêt
que vous nous portez.<br />
Merci de nous remplir ce
formulaire.<br />
Votre courrier fera l'objet de notre
attention.<br />
<span class="Style31">*</span> Champs
obligatoires </div></td>
</tr>
<tr>
<td valign="top" bgcolor="#d5d5d5" colspan="2" height="223"><table bordercolor="#b1b1b1" height="100%" cellspacing="0"
cellpadding="0" width="100%" border="1">
<tbody>
<tr>
<td height="207"><table class="celpecrirure" cellspacing="1"
cellpadding="3" width="99%" border="0">
<!--DWLayoutTable-->
<!--DWLayoutTable-->
<!--DWLayoutTable-->
<tbody>
<tr>
<tr>
<?php
if (!strcmp($entreprise,''))
{ ?>
<td width="98" height="30" valign="center" class="Style31"><span class="Style22">Entreprise : *</span></td>
<?php }
else
{ ?>
<td valign="center" width="98" height="30"><span class="Style22">Entreprise : *</span></td>
<?php } ?>
<td valign="center" width="146"><input name="entreprise"
class="text " id="entreprise"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="40" /></td>
<td valign="center" width="116"><span class="Style22">Domaine
d'application:</span></td>
<td valign="center" width="194"><select name="domaine dapplication"
class="celpecrirure Style22" id="domaine dapplication">
<option selected="selected">Domaine médical</option>
<option>Espaces publics</option>
<option>Etablissements financiers</option>
<option>Espaces commerciaux</option>
<option>Industrie restauration-Hôtels</option>
<option>A la maison</option>
</select></td>
</tr>
<tr>
<?php
if (!strcmp($fonction,''))
{ ?>
<td width="98" height="30" valign="center" class="Style31"><span class="Style22">Fonction : *</span></td>
<?php }
else
{ ?>
<td valign="center" height="30"><span class="Style22">Fonction : *</span></td>
<?php } ?>
<td valign="center"><input name="fonction" class="text "
id="fonction"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="40" /></td>
<td valign="center"><span class="Style22">Secteur d'activité : </span></td>
<td valign="center"><input name="secteur dactivite" class="celpecrirure "
id="secteur dactivite"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="40" /></td>
</tr>
<tr>
<td valign="center" height="30"><span class="Style22">Adresse :</span></td>
<td valign="center"><input name="adresse" class="celpecrirure "
id="adresse"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="40" /></td>
<td valign="center"><span class="Style22">Ville : </span></td>
<td valign="center"><input name="ville" class="celpecrirure "
id="ville"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="20" /></td>
</tr>
<tr>
<td valign="center" height="30"><span class="Style22">Pays : </span></td>
<td valign="center"><input name="pays" class="celpecrirure "
id="pays"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="20" />
<td width="98" height="30" valign="center" class="Style31"><span class="Style22">Telephone : *
<?php
if (!strcmp($telephone,''))
{ ?>
</span></td>
<?php }
else
{ ?>
<td valign="center"><span class="Style22">Telephone : *</span></td>
<?php } ?>
<td valign="center"><input name="telephone" class="text"
id="telephone"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="20" /></td>
</tr>
<tr>
<td valign="top" height="30"><span class="Style22">Fax : </span></td>
<td valign="center"><input name="fax" class="text"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="14" /></td>
<?php
if (!strcmp($e_mail,''))
{ ?>
<td width="98" height="30" valign="center" class="Style31"><span class="Style22">e_mail: *</span></td>
<?php }
else
{ ?>
<td valign="center"><span class="Style22">e-mail: *</span></td>
<?php } ?>
<td valign="center"><input name="e_mail" class="text "
id="e_mail"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
maxlength="40" /></td>
</tr>
<tr>
<td valign="top" colspan="4" height="25"><span class="Style22">Entrer le
code SVP!!
<input class="celpecrirure"
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BACKGROUND-IMAGE: url(images/inputbg.gif); BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
size="13" name="code" />
<img
src="images/aB52cf4.gif" width="100" height="18"
border="0" /></span></td>
</tr>
<tr>
<td valign="top" height="65"><span class="Style22">Commentaire : </span></td>
<td valign="center" colspan="3"><textarea name="comment" class="celpecrirure Style22" id="comment" style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid" maxlength="200"></textarea></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td class="celpecrirure" valign="center" align="middle"
bgcolor="#b1b1b1" colspan="2" height="58"><div align="center">
<input type="hidden" value="10" name="img" />
<input type="submit" value="Envoyer" name="Submit" />
<input
type="hidden" value="ok" name="valider" />
</div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table></td>
</tr>
<tr bgcolor="#bf311a">
<td width="12" height="1"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="12" /></td>
<td width="105"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="105" /></td>
<td width="23"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="23" /></td>
<td width="33"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="33" /></td>
<td width="33"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="33" /></td>
<td width="19"><img height="1" alt="" src="contacts_fichiers/spacer.gif"
width="19" /></td>
<td valign="top" colspan="12"></td>
<td valign="top"></td>
</tr>
<tr>
<td height="1"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td width="131"></td>
<td width="20"></td>
<td width="49"></td>
<td width="23"></td>
<td width="137"></td>
<td width="25"></td>
<td width="32"></td>
<td width="18"></td>
<td width="52"></td>
<td width="13"></td>
<td width="43"></td>
<td width="9"></td>
<td></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
</form>
<?php
}
?>
<!-- End ImageReady Slices --></td>
</tr>
<tr>
<td bgcolor="#444444"><table height="0%" border="0" align="center" cellspacing="0">
<tr>
<td height="6%" class="Style7 Style12"> </td>
<td width="153" rowspan="2" class="Style17"><a href="index.php" class="Style12 Style32"><strong>ACCEUIL</strong></a></td>
</tr>
<tr>
<td width="19" height="6%" class="Style7 Style12"> </td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
<td rowspan="2" class="Style13"><span class="Style35"><a href="corian.htm">PRÉSENTATION</a></span></td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
<td rowspan="2" class="Style13"><span class="Style35"><a href="corian.htm"><a href="actualites.htm">ACTUALITÉS</a></span></td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
<td rowspan="2" class="Style34"><span class="Style36"><a href="produits.htm">PRODUITS</a></span></td>
</tr>
<tr>
<td height="6%" class="Style13"> </td>
</tr>
<tr>
<td height="6%" bgcolor="#AA0000" class="Style13"> </td>
<td rowspan="2" bgcolor="#AA0000" class="Style13"><span class="Style35"><a href="contacts.htm">CONTACT</a></span></td>
</tr>
<tr>
<td height="6%" bgcolor="#AA0000" class="Style13"> </td>
</tr>
<tr>
<td class="Style7"> </td>
<td height="6%" class="Style7"> </td>
</tr>
<tr>
<td height="46%" colspan="2" class="Style7"><img src="images/devis.JPG" width="169" height="161" /></td>
</tr>
<tr>
<td class="Style7"> </td>
<td height="6%" class="Style7"> </td>
</tr>
</table></td>
</tr>
<tr bgcolor="#333333">
<td colspan="3"><table width="1035" border="0">
<tr>
<td width="466" class="stylecontact"><span class="Style24">Zone Industrielle Saint Gobain-Route Z4 1009 Djebel Jelloud-Tunis Tunisie </span></td>
<td width="278"> </td>
<td width="277"><span class="Style24">©</span><span class="stylecontact Style15 Style22"> 2008 CONCEPT DESIGN productions.</span></td>
</tr>
<tr>
<td><span class="stylecontact Style15 Style22">Tél .: (+216) 71 396 853 Fax : (+216)71 396 666</span></td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
Afficher la suite