non funziona...
l'ho modificato cosi:
index.php3
<?
include ("config.php");
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table style="font-family: verdana; font-size: 12px" width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">Clicca sul prezzo che vuoi cambiare:</td>
</tr>
</table>
<?
mysql_connect($hostname,$usernamedb,$passworddb);
$sql="select * from prezzo";
$result=mysql_db_query($database,$sql);
while($row = mysql_fetch_array($result)){
$id_tmp=$row["id"];
$categoria_tmp=$row["categoria"];
$prezzo_tmp=$row["prezzo"];
?>
<form name=modifica action="edit.php3">
<table style="font-family: verdana; font-size: 12px" width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="370"><input type=text name=categoria value='<? echo $categoria_tmp;?>'></td>
<td width="50"><input name=prezzo type=text value='<? echo $prezzo_tmp;?>' size="4" maxlength="4"></td>
<td width="80" align="center">
<input type=hidden name=id value='<? echo $id_tmp;?>'>
<input type=submit name=action value=Modifica></td>
</tr>
</table>
</form>
<?
}
?>
</body>
</html>


edit.php3
<?
include ("config.php");
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?
mysql_connect($hostname,$usernamedb,$passworddb);
$sql="update prezzo set id='$id',categoria='$categoria',prezzo='$prezzo' where id='$id' ";
$result=mysql_db_query($database,$sql);
$id_tmp=$row["id"];
$categoria_tmp=$row["categoria"];
$prezzo_tmp=$row["prezzo"];
if($result==false):
echo "
<CENTER>

Il sistema in questo momento non e` disponibile. Riprovare piu` tardi.

";
echo "<FORM><INPUT TYPE=\"button\" NAME=button1 value=\"Torna indietro\" onClick=\"history.back()\"></FORM></CENTER>";
exit;
endif;
echo "$categoria_tmp $prezzo_tmp $id_tmp";
echo "
Modifiche apportate correttamente";
?>
</body>
</html>


ma non funziona... comincio a non capirci + nulla...