Salve ho creato una pagina php che mi permette di modificare il nome, la descrizione e l'immagine ma quando inserisco dei nuovi dati nelle text-box non avviene nessuna modifica. Come posso risolvere ?
Codice PHP:
<!DOCTYPE html> 
<html> 
<?php

include("connessioneDB.php");

extract($_GET);
$id $_GET['id'];

$result mysql_query("select * from extra where id= '$id'");
while(
$array=mysql_fetch_array($result)){
$id=$array['id'];
$nome=$array['nome'];
$descrizione=$array['descrizione'];
$immagine=$array['immagine'];
}
?>

    <head>

    
    <title>QRFit - Modifica Attrezzo</title> 
    <link rel="stylesheet" type="text/css" href="style.css"/>
    <link href="jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
<link href="jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
<script src="jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="jquery.mobile-1.0.min.js" type="text/javascript"></script>
 <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
 
 <script src="jquery-1.7.2.js" type="text/javascript"></script>
<script src="jquery.validate.js" type="text/javascript"></script>

 
    <script type="text/javascript" src="jquery.form.js"></script>
   


    
    
    <script type="text/javascript">
    <!--
        $(document).ready(function() {
            var options = {
            target: '#message', //Div tag where content info will be loaded in
            url:'upload2_extra.php', //The php file that handles the file that is uploaded
            beforeSubmit: function() {
                $('#uploader').html('<img src="images/ajax-loader.gif" border="0" />'); //Including a preloader, it loads into the div tag with id uploader
            },
            success:  function() {
                //Here code can be included that needs to be performed if Ajax request was successful
                $('#uploader').html('');

            }
            };

            $('#upload').submit(function() {
                $(this).ajaxSubmit(options);
                return false;
            });

        }); 
 //-->
 </script>
    
   
<style type="text/css">
label.error{
color: red;
}
 
</style>



</head> 

<body>
 
<div data-role="page" id="bar" data-title="Modifica extra" >
<div data-position="fixed" data-role="header" data-theme="a">
  <div class="ui-btn-left" data-role="controlgroup" data-type="horizontal">
     <a href="home_good.php" data-role="button" data-icon="home">home</a>
      <a data-role="button" data-rel="back" data-icon="back" data-direction="reverse">Indietro</a>
    

    </div>
      <a href="login.php?status=loggedout" data-role="button"  class="ui-btn-right"   >Logout</a>
 
      
    <h1>Modifica Attivita' Extra</h1></div>

    <div data-role="content" data-theme="c">
    
    
    
<div id="message"></div>
    <form name="upload" id="upload" action="#" method="POST" enctype="multipart/form-data">
       <input type="hidden" name="op" value="mod">
<input type="hidden" name="id" value="<?php echo $id;?>">
       <table border="0" align="center" cellpadding="4" cellspacing="4">
        
            <tr>
                <td colspan="2"><h1>Upload File </h1></td>
                <?php echo $id?>;
            </tr>
             <tr>
                <td nowrap>Nome:</td>
                <td nowrap><input type="text" name="nome" size="38" value="<?php echo $nome?>"></td>
            </tr>
            
            <tr>
                <td nowrap>Descrizione:</td>
                <td nowrap><textarea name="descrizione"><?php echo $descrizione ?></textarea></td>
            </tr>
            
           <tr>
                <td nowrap>File:</td>
                <td nowrap><?php if(strlen($immagine)==0)
echo 
"<img src=\"immagini/attrezzi/default.png\" width=\"150\" height=\"150\">";
if(
strlen($immagine)>0)
echo 
"<img src=\"$immagine\" width=\"150\" height=\"150\">"?><input type="file" name="fileToUpload" id="fileToUpload"></td>
            </tr>
            <tr>
              <td nowrap colspan="2">  <input type="submit" id="Modifica" value="Modifica" > </td>
            </tr>   
</table></form>
        </table>
  </div>
    <div id="uploader"></div>

    
    <div data-role="footer" data-theme="a">
        <h4></h4> 
    </div>

</div><!-- /page -->

</body>
</html>