salut j'ai un Pb avec cette source:
elle n'ecrit rien dans la BDD
<form action="nveaupdt.php" method="post" enctype="multipart/form-data">
<p>
Categorie:
</p>
<input type="text" name="cat" />
<p>
Reference:
</p>
<input type="text" name="ref" />
<p>
Description:
</p>
<textarea name="desc" rows="8" cols="45">
Description du produit
</textarea>
<p>
Dimensions:
</p>
<input type="text" name="dim" />
<p>
Prix:
</p>
<input type="text" name="prix" />
<p>
<p>
Photo1:
</p>
<input type="file" name="phot1"br>
<p>
Photo2:
</p>
<input type="file" name="phot2"br>
<p>
Photo3:
</p>
<input type="file" name="fichier1"br>
<br/>
<input type="submit" value="Envoyer">
</form>
<?
error_reporting(E_ALL ^ E_NOTICE);
include("connection.php");
$cat = $_POST['cat'];
$ref = $_POST['ref'];
$desc = $_POST['desc'];
$dim = $_POST['dim'];
$prix = $_POST['prix'];
$phot1 = $_POST['phot1'];
mysql_query("INSERT INTO meubles VALUES('', '" . $cat . "', '" . $ref .
"','" . $desc . "','" . $dim . "','" . $prix . "', '" . $phot1 . "')");
mysql_close;
?>