Bonjour,
A tous JE doit soutenir mon bts alor je dois concevoir un site web pour l'inscription d'une école j'ai crée un formulaire d'inscription en html et je veux récupérer les informations saisi pour les metre dans une base de donnée mysql mais je n y arrive pas aidez moi SVP voici mon code html
CODE SOURCE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="projetcss" href="projetcss.css" />
<title>Untitled Document</title>
</head>
<body bgcolor="#CCCCCC"><form method="post" action="projetphp.php">
<center>
<table width="659" height="493" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="655" height="491" valign="top"><table width="642" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="151" height="138" valign="top"><p><img src="LOGO.png" alt="ITES LOGO" width="146" height="134" /></p>
</td>
<td width="448" valign="top"><p><img src="Nouvelle Banniére.jpg" width="500" height="159"/></p></td>
</tr>
</table>
<table width="632" height="33" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="628" height="31" valign="top"><p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="ACCUEIL">
<param name="movie" value="button2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#3300FF" />
<embed src="button2.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#3300FF"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="PROFESSEUR">
<param name="movie" value="button3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000099" />
<embed src="button3.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#000099"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="FILIERES">
<param name="movie" value="button4.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000099" />
<embed src="button4.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#000099"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="CYCLES">
<param name="movie" value="button5.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000099" />
<embed src="button5.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#000099"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="INSCRIPTION">
<param name="movie" value="button7.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000099" />
<embed src="button7.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#000099"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="100" height="22" title="CONTACTS">
<param name="movie" value="button8.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000099" />
<embed src="button8.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="100" height="22" bgcolor="#000099"></embed>
</object>
</p>
</td>
</tr>
</table>
</div>
<div id="site">
<div id="text">
<center><div id="textentete"><em><strong>INSCRIPTION EN LIGNE</strong></em><strong></strong></div>
</center>
<br><center><u><strong>Information sur l'étudiant</strong></u>
<p><font color="#FF0000">*Veuiller remplir tous ces champs</font>
</center><form id="form1" name="form1" method="post" action="inscrip1.php">
<table width="597" border="0" bordercolor="#FFCC00">
<tr>
<td width="153" height="27">Nom<font color="#FF0000">*</font></td>
<td colspan="2"><label>
<input type="text" name="nom" />
Matricule<font color="#FF0000">*</font></label></td>
<td><label>
<input type="text" name="mat" />
</label></td>
</tr>
<tr>
<td>Prenoms<font color="#FF0000">*</font></td>
<td colspan="3"><label>
<input type="text" name="pre" />
</label></td>
</tr>
<tr>
<td>Date de naissance<font color="#FF0000">*</font> </td>
<td width="147"><label>
<select name="jour">
<script language="javascript">
for (i=1;i<=31;i++)
{
document.write("<option>"+i+"</option>");
}
</script>
</select>
<select name="mois">
<option value="janvier" selected="selected">1</option>
<option value="février">2</option>
<option value="mars">3</option>
<option value="avril">4</option>
<option value="mai">5</option>
<option value="juin">6</option>
<option value="juillet">7</option>
<option value="aout">8</option>
<option value="septembre">9</option>
<option value="octobre">10</option>
<option value="novemmbre">11</option>
<option value="decembre">12</option>
</select>
<select name="annee">
<script language="javascript">
for (i=1900;i<=2000;i++)
{
document.write("<option>"+i+"</option>");
}
</script>
</select>
</label></td>
<td width="57"><div align="center">Lieu<font color="#FF0000">*</font>:</div></td>
<td width="222"><label>
<input type="text" name="ville" />
</label></td>
</tr>
<tr>
<td width="153">Sexe<font color="#FF0000">*</font></td>
<td colspan="3"><label>
M
<input type="radio" name="sexe" value="masculin"/>
F
<input type="radio" name="sexe" value="feminin" />
</label></td>
</tr>
<td width="153">Nom du père<font color="#FF0000">*</font> </td>
<td colspan="3"><label>
<input type="text" name="nom2" />
</label></td>
</tr>
<tr>
<td>Profession<font color="#FF0000">*</font> </td>
<td><label>
<input type="text" name="pp" />
</label></td>
<td><div align="center">N° Tél<font color="#FF0000">*</font> : </div></td>
<td><label>
<input type="text" name="nump" id="text" />
</label></td>
</tr>
<tr>
<td>Nom de la mère<font color="#FF0000">*</font> </td>
<td colspan="3"><label>
<input type="text" name="nom3" id="text" />
</label></td>
</tr>
<tr>
<td>Profession<font color="#FF0000">*</font></td>
<td><label>
<input type="text" name="pm" id="text" />
</label></td>
<td><div align="center">N° Tél<font color="#FF0000">*</font> : </div></td>
<td><label>
<input type="text" name="numm" id="text" />
</label></td>
</tr>
<tr>
<td>Boîte postale<font color="#FF0000">*</font> </td>
<td colspan="3"><label>
<input type="text" name="bp" id="text" />
</label></td>
</tr>
<tr>
<td>Etablissement d'origine<font color="#FF0000">*</font> </td>
<td colspan="3"><label>
<input type="text" name="et" id="text" />
</label></td>
</tr>
<tr>
<td>Classe année précédente<font color="#FF0000">*</font> </td>
<td><label>
<input name="cla" type="text" id="text" />
</label></td>
<td><div align="center">Paiement<font color="#FF0000">*</font> </div></td>
<td><label>
<select name="paiement" id="Paiement">
<option value="BIAO" selected="selected">BIAO</option>
<option value="VISA">Carte VISA</option>
</select>
</label></td>
</tr>
<tr>
<td>Filière<font color="#FF0000">*</font></td>
<td colspan="3"><label>
<input type="text" name="fil" id="text" />
</label></td>
</tr>
<tr>
<td>Cycle<font color="#FF0000">*</font></td>
<td colspan="3">Ingenieur: <input type="radio" name="radio" value="Ingenieur" />
BTS: <input name="radio" type="radio" value="BTS" /></td>
</tr>
<tr>
<td>Categorie<font color="#FF0000">*</font></td>
<td colspan="3"><label>
<select name="cat" id="menu">
<option value="TERTIARE">TERTIAIRE</option>
<option value="INDUSTRIELLE">INDUSTRIELLE</option>
</select>
</label></td>
</tr>
<tr>
<td>Niveau<font color="#FF0000">*</font></td>
<td colspan="3"><label>
<select name="niv" id="menu">
<option value="BTS1">BTS1</option>
<option value="BTS2">BTS2</option>
<option value="BTS2">ING1</option>
<option value="BTS2">ING2</option>
<option value="BTS2">ING3</option>
</select>
</label></td>
</tr>
<tr>
<td><em>e-mail</em></td>
<td colspan="3"><label>
<input type="text" name="mail" id="text" />
</label></td>
</tr>
<tr>
<td colspan="3">
<label>
<div align="center"><br>
<input type="reset" value="EFFACER" /> <input type="submit" name="Submit" value="ENVOYER >>" >
</div>
</label></td>
</tr>
</table>
</form>
</div>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="653" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="599" height="21" valign="top"><p> </p></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
</center>
</form></body>
Afficher la suite