Thread: Data Table !?
View Single Post
Old Apr 5th, 2006, 6:11 AM   #10
ASHORY
Programmer
 
ASHORY's Avatar
 
Join Date: Dec 2004
Location: Egypt
Posts: 30
Rep Power: 0 ASHORY is on a distinguished road
Send a message via ICQ to ASHORY Send a message via MSN to ASHORY Send a message via Yahoo to ASHORY
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 .
__________________
"^Ahmed.SHOukRY^"
http://www.ashory.741.com
ASHORY is offline   Reply With Quote