hi guys, need your help and expertise. got this problem thats been bugging me for quite sometime already. here goes...
mySQL table contains the following :
- name
- hair color
- lip color
- eye color
dynamic display :
name is to be displayed as dynamic text (not editable)
hair color, lip color and eye color are to be dynamically displayed on a drop down menu (editable), hence contains also the other colors that has not been chosen
* repeat region for display since there are more than 1 record
...now, the display page also works as the editable page, but limited only to the drop down menus since the 'name' is to be displayed only as dynamic text. unlike the dynamic drop down of hair color, lip color and eye color wc you can change / edit by choosing another color on the drop down list.
sample of the display page :
======================
1st record
dynamicText : NAME : ana
dynamicDropDown : HAIR COLOR : selected -> blue, red, green
dynamicDropDown : LIP COLOR : pink, selected -> yellow, black
dynamicDropDown : EYE COLOR : selected -> orange, white, gray
2nd record
dynamicText : NAME : jennifer
dynamicDropDown : HAIR COLOR : blue, red, selected -> green
dynamicDropDown : LIP COLOR : pink, yellow, selected -> black
dynamicDropDown : EYE COLOR : orange, selected -> white, gray
3rd record
dynamicText : NAME : vanessa
dynamicDropDown : HAIR COLOR : blue, selected -> red, green
dynamicDropDown : LIP COLOR : selected -> pink, yellow, black
dynamicDropDown : EYE COLOR : orange, white, selected -> gray
One Single Update Button
======================
what i would really want to do is to have a single update button for all the records. after i made my changes,upon clicking the update button, it should automatically updates the records on the database. the user would end up on the same page after clicking the update button, but with the updated changes already.
i manage to make an update but on the last record only (VANESSA since it was being displayed on alphabetical order A-Z). every time i tried to make some changes on VANESSA, ANA and JENNIFER, only VANESSA's record changes.