salve a tutti, ho un problema con uno script:

ho dei dati in un db mysql, utilizzo la funzione fetch array per vederli come tabella, applico però un text form per ogni riga per aggiungere dei commenti, come faccio a salvare questi commenti con l'update??

vi allego il codice:

Codice PHP:
<?php
require_once("includes/config.php");
require_once (
"Excel/reader.php");
include(
"includes/common.php");

// Connect to MySQL database
$db mysql_connect($db_host$db_user$db_password)
          or die (
"Impossibile connettersi al server!");
mysql_select_db($db_database$db)
          or die (
"Impossibile connettersi al database!");
                
        echo 
"

<table width=\"100%\">"
;
        echo 
"<tr><th id=\"year-container\">Nome</th><th id=\"year-container\">Cognome</th><th id=\"year-container\">Telefono</th><th id=\"year-container\">Note Telefonata</th></tr>";
        
        
// Show the events for the day
        
$sql mysql_query("SELECT * FROM ".$_POST['listname'].""$db);
        
        if (
mysql_num_rows($sql) > 0) {
            while (
$e mysql_fetch_array($sql)) {
          echo 
"<tr><td class=\"day-currentMonth-weekday\">$e[nome]</td><td class=\"day-currentMonth-weekday\">$e[cognome]</td><td class=\"day-currentMonth-weekday\">$e[telefono]</td><td class=\"day-currentMonth-weekday\" width=\"80\"><input name=\"text\" type=\"text\" value=\"$e[note]\" size=\"80\"/></td></tr>";
          }
        } else {
          echo 
"

Nessun Record Trovato</p>\n"
;
        }
        
        echo 
"</table>";          

        
// Close the database
        
mysql_close($db);
    
      
      
?>