I have a state drop down on my page and I am saving the ID to the DB column Now when reterving the values I need to retrive the corresponding state name .
Example:
My state is NY
The value saved to DB is 33
when i am pulling the value from the DB to the screen I need to print NY on my screen .
can some assist me on this please?
If you don’t have 33 in your DB you can just grab it from the dropdown that is already on the screen by doing: