Stopping the dropdown list keeps reverting

admin

Administrator
Staff member
Hi there,

I have 2 MYSQL tables... one is 'address', the other called 'city'
'city' is a drop downlist with all 'city' data... (ie Auckland, Wellington etc..)

The key between the two is city_id...

The problem is when I call the back the data I have inputted with addresses etc for correction or updating, the city dropdown list reverts back to the top of selection list from the database... What would the code be that maintains the city info from the existing data on the database?

Thanks in advance,

Grant
 
Back
Top