0

How to make one drop down dependent on another drop down

Like we select country and its releted states come

14th Apr 2022, 6:36 AM
Rajveer Kaur
Rajveer Kaur - avatar
3 Answers
14th Apr 2022, 7:17 AM
CalviÕ²
CalviÕ² - avatar
+ 1
Ruby šŸŒæ To insert html data into db table, you would need to setup db table with a db schema From frontend, html file, set the select input in a form tag, form tag with PHP action and method attributes. Setup a PHP script to process post data and save the data into db table from backend. For more details, please refer to this file https://code.sololearn.com/w8oD4T90kXp6/?ref=app Please note that you need a PHP server with MySQL db installed before you could execute this script, and it would not run from the code playground.
17th Apr 2022, 4:45 PM
CalviÕ²
CalviÕ² - avatar
0
CalviÕ² now this selected value Pass to my Sql how
14th Apr 2022, 3:40 PM
Rajveer Kaur
Rajveer Kaur - avatar