ma la virgola nn ce l'ho messa. ti faccio vedere il codice dello script query per l'admin,
Codice PHP:
<?php 

$db 
mysql_connect("miohost""miodata""miapass") or die("Non connesso.");
if(!
$db
    die(
"no db");
if(!
mysql_select_db("aristr_frank",$db))
     die(
"No database selected."); 

$query "
UPDATE pn_offerte
SET    nome = '
$offerta', costo = '$costo', imgpath = '$imgpath, descrizione = '$desc
WHERE  id = '
$id'
"
;

if  (
mysql_query($query,$db) or die("Errore alla linea ".__LINE__.": ".mysql_error())) {
echo 
"Modifica eseguita.";
} else echo 
"Errore ! Modifica non eseguita.";
?>
e quello di aggiornamento:
codice:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  
  <tr>
    <td width="100%" height="160" valign="top"><div align="center">
      <form name="form" method="post" action="query.php">
        

Nome offerta: 
            <input type="text" name="offerta">

            costo: <input type="text" name="costo">

            immagine: <input type="text" name="imgpath">
</p>
        

Testo 100caratteri max:
          <textarea name="desc"></textarea>
</p>
        


          id offerta (da 1 a 6): <input type="text" name="id">
</p>
        


          <input type="submit" name="Submit" value="Invia">
</p>
      </form>
    </div></td>
  </tr>
</table>