Que dois-je faire pour résoudre ce problème ?
	
	
		bonjour
je suis en train de contruire un forum avec php oracle j'ai fait le code suivant
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 
 | if(@$_POST["message"]) {
$login = AddSlashes (htmlspecialchars($_POST['login']));
$email = AddSlashes (htmlspecialchars($_POST['email']));
$message = AddSlashes (htmlspecialchars($_POST['message']));
$date=date("d-m-Y H:i");
$reponse= $_POST["reponse"];
 
   $SQL = ociparse($c, "INSERT into forum_messages
      VALUES(d.nextval,'$date',
	  '$login',
	  '$email',
	  '$message',
	  '$reponse')");  
   ociexecute($SQL);}
  // === AFFICHAGE DE LA PAGE ===
?>
 
<HTML><HEAD>
   <TITLE>Mini-forum : Etape 2</TITLE>
   <SCRIPT language="JavaScript"><!--
     function repond(id) {
         document.form1.reponse.value=id
         document.form1.submit()
      }
   --></SCRIPT>
</HEAD><BODY bgcolor="#FFFFFF"><center>
 
   <!-- Formulaire de saisie -->
 
   <table>
      <form method="post" action="etape2.php" name="form1">
         <tr>
            <td align=right>Login</td><td>
               <input name="login" maxlength=15>
            </td><td rowspan=3>
               <textarea name="message" cols=60 rows=5
                  ></textarea>
            </td>
         </tr><tr>
            <td align=right>Email</td><td>
               <input name="email" maxlength=50>
            </td>
         </tr><tr>
            <td colspan=2 align=center>
               <input type='submit' value='Nouveau sujet'>
               <input type='hidden' name='reponse'>
            </td>
         </tr>
      </form>
   </table>
 </body>
   </html> | 
 Mais j'obtiens l'erreur 
	Citation:
	
		
		
			Warning:  ociexecute(): OCIStmtExecute: ORA-01400: impossible d'insérer NULL dans ("SOUMIA"."FORUM_MESSAGES"."REPONSE")