Un saluto a tutti,
scusate sarà una banalità ma non ne vengo a capo...

Preparo un form:

Codice PHP:
echo "<form name=\"firma_form\" /* enctype=\"text/plain\" */ method=\"post\" action=\"".$indirizzo.".php\" onsubmit=\"return valida(this);\"\">

 <fieldset>
  <legend>Dati Utente</legend>
  <label>Firma: 
<input name=\"firma\" type=\"text\" size=\"20\" maxlength=\"40\"/></label>
  

  

  <label>Oggetto: 
<input name=\"oggetto\" type=\"text\" size=\"20\" maxlength=\"40\"></label>
  

  

  <label>Indirizzo email: 
<input name=\"email\" type=\"text\" size=\"20\" maxlength=\"40\"></label>
 </fieldset>




 <fieldset>
  <legend>Commento</legend>
  <label>Lasciami il tuo parere:

   <textarea name=\"commento\" cols=\"50\" rows=\"10\">
   </textarea>
  </label>
 </fieldset>
 <input type=\"hidden\" name=\"id\" value=\""
.$id_tx."\">


Firma:"
.$_SESSION["Username"]."

Data odierna:[b]" 
.date("d/m/Y")."[/b]


<input type=\"submit\" name=\"submit\" value=\"Invia commento\">
<input type=\"reset\" value=\"Cancella dati\">
<!--  <button type=\"reset\">annulla</button>
 
 <button type=\"submit\">invia</button> -->
</form>"

I dati vanno al file $indirizzo=scrivi_in_db.php che è questo:

Codice PHP:
//Connessione al Db ok
$firma=addslashes(htmlspecialchars($_REQUEST['firma']));
        
$email=addslashes(htmlspecialchars($_REQUEST['email']));
        
$oggetto=addslashes(htmlspecialchars($_REQUEST['oggetto']));
        
$commento=htmlspecialchars($_REQUEST['commento']);
        
$id_tx $_REQUEST['id'];
        
$ip=addslashes(getenv("REMOTE_ADDR"));
        
$local=addslashes(gethostbyaddr($ip));
        
$browser=addslashes($_SERVER["HTTP_USER_AGENT"]);
        
$data=Date("H:i:s - d/m/Y");
        
$commento=nl2br($commento); //
        
$commento=addslashes($commento);
        
            echo 
"$commento
"
;
            echo 
"$data
"
;
            echo 
"$ip
"
;
            echo 
"$browser
"
;
            echo 
"$id_tx
"
;
            echo 
"$email
"
;
            echo 
"$oggetto
"
;
            echo 
"$firma
"
;
// inserimento dati (quelli che arrivano...) ok 
Ciò che vedo è :
Codice PHP:
echo "$data
"
;
            echo 
"$ip
"
;
            echo 
"$browser
"

Cosa c'è nel mio form che non va???

Grazie ancora.