thanks very much dawei , but what about if i needed to edit the city as an example
but like that :
while ($address = mysql_fetch_array ($addresses))
{
echo '<tr>';
echo '<td class="pid">'.$address ["PersonID"].'</td>';
echo '<td class="entry">'.$address ["Name"].'</td>';
echo '<td class="entry">'.'<input type=text value='".$address ["City"]."'>'.'</td>';
echo '</tr>';
}
so the city will be written in the text value so i can edit it , then i click save to update the only changed field .