-2
I have a php variable that has its value.
ex: "AREA 05"
This is displayed in the input. I have a table that is related to the logins according to these areas. As I do and if it is possible to use this php variable to popular the html select tag with its respective logins, ie the select be populated according to your area. It is possible?
table is not popular, but the item select is popular according to the result of the php variable.
– Expert Ortega
Exactly, you can use php ajax to as the user selects in select Voce popular another select or anywhere else, generating queries regarding the new variable value, in case you would be using get or post method of your preference to pass the new value to the variable responsible for the query.
– Eduardo
there is the possibility to show me an example??
– Expert Ortega
Read this article in Devmedia will help you with an example.
– Eduardo