Ciao, un esempio puo' essere il seguente:
$table="<table><tr>";
$table.="<td>Colonna1</td>";
$table.="<td>Colonna2</td>";
$table.="<td>Colonna3</td>";
while($row=mysql_fetch_array($result))
{
$table="<tr>";
$table.="<td><input type="text" name="x" value="$row['colonna1']" /></td>";
$table.="<td><input type="text" name="x" value="$row['colonna2']" /></td>";
$table.="<td><input type="text" name="x" value="$row['colonna3']" /></td>";
$table.="</tr>"
}
$table.="</table>";
echo $table;