I have a table in my database that´s like that:
create table t(
Foreign Key(father_id) references t(id)
I´m trying to do the follow:
1) Create a select box witch each option has an id, that when selected it search on the db table t for the father_id.
2)If this search returns anything it will create with dom(create element) a new select.
3)This select created also will search in the db table t for father_id.
Did anyone knows, how can i do that?