0
Can I import database values into an input or select field using html, php, Mysql and/or bootstrap only? (Obs.: do not master Javascript or Json)
Follow image to illustrate, then I explain what I would like to do:
In the ZIP code field, I would like you to take values already registered in the database and update the FU and the City as chosen, and that the initial page loading was blank.
If you do not have registration the idea would be to use the " + " to add a new one, but would not like to leave the page so as not to lose the data already entered.
I thought about using a modal to search and include ZIP code, but I don’t know how to leave the input "disabled" and then send values...
Does anyone have any idea what they might be doing to solve this?
Thanks in advance!!!
Could show some code, would help a lot, thank you :)
– Afonso
How do you make this query in the bank? Use some design architecture?
– Miyukii
I appreciate your interest in solving, but I followed the advice of the jona1has and I decided using the API, so I don’t need to create the database, just import the data and if any fills directly, which is much more efficient by the fact that there can be more than one zip code per city and such....
– Thiago Prange