ciao grazie della risposta, sicuramente qualche volta sbaglio, ma cmq ho scritto nel msg solo la riga del input se vuoi metto tutto il codice dal doctype al tag finale, cmq questo e il codice php con il form che uso per leggere ed modificarei i dati inseriti
ciao buona notte
Codice PHP:
<?php include ("config.php");
?>
<?php
$ricercaid =$_GET['id'];
$strsql = "SELECT id, titolo, descrizione, immagine FROM ucc_articoli WHERE id = '$ricercaid'";
$link=mysql_connect ("$db_host","$db_user","$db_pass") or die ("Errore di Connessione" .mysql_error());
mysql_select_db ($db_name, $link) or die ("Errore Tabella non trovata" .mysql_error());
$strsql_sql = mysql_query($strsql, $link) or die(mysql_error());
while ($row_strsql = mysql_fetch_assoc($strsql_sql))
{echo"
<div class=content>
<form method=POST enctype=multipart/form-data action=db_mod_prodotti.php?id=$row_strsql[id] >
<table cellpadding=0 cellspacing=2 class=add_table bordercolor=#4d030d border=2>
<tr>
<td width=26%>[b]Titolo [/b]</td>
<td width=74%><input class=input type=text name=titolo size=50 value=$row_strsql[titolo] />
</td>
</tr>
<tr>
<td width=26%>[b]Descrizione [/b]</td>
<td width=74%><input class=input type=text name=descrizione size=50 value=$row_strsql[descrizione] /></td>
</tr>
<tr>
<td width=26%>[b]Foto [/b]</td>
<td width=74%><input class=input type=file name=immagine size=37 />
<input type=hidden name=MAX_FILE_SIZE value=70000 />
</td>
</tr>
";} ?>
</table>
<div id="buttom">
<input type="submit" value="Aggiungi" name="B1">
<input type="reset" value="Reimposta" name="B2">
</form>
<br class="clearfloat" />
</div>