hi 
i have a probleme in this code of insertion a article
plaise i wand a solution
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>UPLOADE a FILE</title>
</head>
<body>
<h1 class="titre" align="center"> </h1>

<?php
 //include('connex.php');
 if(isset($_POST['submit']))
  session_start();
             // $u=$_SESSION["user"];
             // echo $u;
 $connexion=mysql_connect( "localhost","root","" )or die();
  mysql_select_db('bdconf')or die(mysql_error());  
if(isset($_FILES['fichier']))
{
$fichier=mysql_real_escape_string(htmlentities($_FILES['fichier']['name']));
$query=mysql_query("INSERT INTO article(idart,nom_art,nomauteur,nomrevewer,fichier,critere_evaluant) VALUES('','$nom_art',$nomauteur','$nomrevewer,$fichier','$critere_evaluant')")or die(mysql_error());
//$query=mysql_query("INSERT INTO article(idart,nom_art) VALUES('','pdf')")or die(mysql_error());

if($query==true)

move_uploaded_file($_FILES['fichier']['tmp_name'],'fichier/'.$fichier);

?>
<script>alert('votre fichier a correctement ete uploade');</script>
<?php
}else
{
}
}
?>
<script>alert('ERROR');</script>


<form id="maform" name="form1" method="post" action="article.php">
    <form align="center" border="1">
<form methode="POST" action="" enctype="multipart/form-data">
<input type="file" name="fichier">
<input type="submit" value="Uploader">
</body>
</html>


2013/8/31 Marc Delisle <marc@infomarc.info>
Welcome to the second release candidate for phpMyAdmin 4.0.6, a bugfix
version with improvements in the navigation panel.

Details will appear on http://phpmyadmin.net. In a hurry? you can visit
https://sourceforge.net/projects/phpmyadmin/files to download.

Marc Delisle, for the team

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel