in reply to Tree Structure and Db

... and if you are using Postgres there is ltree which works quite well

- dEvNuL