i want to make 2 dropdown (dropdown keyword and subkeyword) from same table and dependent each other like dropdown country and city ... Please Help me :')
If it's the same table you need some kind of hierachy like.
id item parent_id
1 Country null
2 City 1
Then you can get all the records where the parent_id is null for one dropdown.
Then you can use ajax to load the data into the second dropdown based on the selected id = parent_id