My problem is :
I have a query like :
----
$query = "INSERT INTO conge (matricule, nom, responsable, de, a, approuver) VALUES ('$matricule','$nom','$resp', '$de','$a','$approuver')";
mysql_query($query) or die(mysql_error());
-----
when I use :
<form action=demapprobconge.php method="POST">
the data does not insered in the database.
but when I use :
<form method="POST"> -Without action parameter-
It works !!
please help.
I have a query like :
----
$query = "INSERT INTO conge (matricule, nom, responsable, de, a, approuver) VALUES ('$matricule','$nom','$resp', '$de','$a','$approuver')";
mysql_query($query) or die(mysql_error());
-----
when I use :
<form action=demapprobconge.php method="POST">
the data does not insered in the database.
but when I use :
<form method="POST"> -Without action parameter-
It works !!
please help.