Se metto del testo nella textarea me la mette nel db, ma poi non me la visualizza.
Ecco a te il code:

codice:
<? 
include 'db.inc.php'; 

$db = mysql_connect (MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD) or  
die('Non è possibile collegarsi al db!'); 
mysql_select_db(MYSQL_DB, $db) or die (mysql_error($db)); 

$result = mysql_query("select * from appunti'"); 
while($array=mysql_fetch_array($result)){ 
$testo=$array['testo']; 
} 
?> 

<form method="post" action="<?$PHP_SELF?>" name="formData" enctype="multipart/form-data"> 
<input type="hidden" name="op" value="mod"> 
<label for="firstname" class="testo2">Testo 5: </label>  

 
<textarea name="testo" cols="80" rows="15"><?php echo stripslashes($testo); ?></textarea> 
<center><input id="button" type="submit" value="Invia Testo"></center> 
</form> 

//Adesso recuperi il testo immesso da te 
<? 
if($_POST['op']=="mod") { 
$testo=$_POST['testo']; 

$result = mysql_query ("update appunti set testo='$testo'");

//apposta di questa selezionata in grasetto

if($result) { echo"<script language=javascript>"; 
echo"document.location.href='contattaci.php'"; 
echo"</script>"; 
} else { 
echo"Inserimento fallito".mysql_error(); 
} 
} 
?>