So I have a DB (Tree) that looks like this:
So when I delete a questions I want to delete the whole tree linked to that questions but I don't know how to do this :(. Do you have any ideas?
I have this query but it deletes only the question and the questions linked to that question but it stops there.
DELETE FROM support_faq WHERE id=".$id_intrebare." OR parinte=".$id_intrebare