voilà le nouveau code(c'est faute de copier)
<form action="body.php" method="POST">
<p> </p>
<table width="119" border="1">
<tr>
<th width="109" scope="col">Nom</th>
</tr>
</table>
<p>
<input name="nom" type="text">
<h1><center>
</center></h1></p>
<p>
<input type="submit" name="Submit" value="valider">
</p>
</form>
<?
mysql_connect("localhost","root","" );
mysql_select_db("conference2" );
$table="auteur";
$nom="";
if(!empty($_POST["nom"]))
{
$nom=addslashes($_POST["nom"]);
echo $nom;
}
$query="insert into $table values('','$nom','mahfoudh',22231994,'non','natio','fhgvhj','salmama',2,'ensi')";
$result=mysql_query($query);
mysql_close();
?>
est le probleme est le meme