Hi guys,
I’ve just been trying to work out how to solve this problem.
A data entry section of the webapp I’m developing is broken into three pages, each adding data to my MySQL database. The user is able to go back and forth through the pages to make adjustments as necessary and the database is updated as required.
I’m able to echo data back into textfields just fine, I’m just not sure on how to go about changing the listboxes to show the item that was selected prior to the query.
One option is to write a loop in PHP but I feel that there may be a better way of achieving this with js/ajax to change the selectedItem.
Any suggestions much appreciated.
Thanks ?