Problem with INSERT INTO
Posted: Wed Dec 02, 2009 2:29 pm
Hi all, i need your help i spent 2 hours to find the problem and didnt see, i try to insert into my table
$query="INSERT INTO `voute` (`numboite`, `numclient`, `nummandat`, `type`, `nomclient`, `mandat`, `annee`)
VALUES ('".$_POST['numboite']."', '".$_POST['numclient']."', '".$_POST['nummandat']."', '".$_POST['type']."', '".$_POST['nomclient']."', '".$_POST['mandat']."', '".$_POST['annee']."')";
And i obtain a error
I use IIS with PHP5
$query="INSERT INTO `voute` (`numboite`, `numclient`, `nummandat`, `type`, `nomclient`, `mandat`, `annee`)
VALUES ('".$_POST['numboite']."', '".$_POST['numclient']."', '".$_POST['nummandat']."', '".$_POST['type']."', '".$_POST['nomclient']."', '".$_POST['mandat']."', '".$_POST['annee']."')";
And i obtain a error
I use IIS with PHP5