[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]PoetaWD[/eluser]
@qureshi ![]() Take a look at this... it REALLY helped me figure out how to do it... http://dev.mysql.com/tech-resources/arti...-data.html I didnt used it to make a code for it using the DM,,, made it using RAW php... just for fun... Basically the table for it would be: Code: CREATE TABLE category( Put some values for the table: Code: INSERT INTO category Code: +-------------+----------------------+--------+ Than you can play with the queries: To get the full tree: Code: +-------------+----------------------+--------------+-------+ Code: SELECT t1.name AS lev1, t2.name as lev2, t3.name as lev3, t4.name as lev4 Take a look at the article... I hope it helps... |
Welcome Guest, Not a member yet? Register Sign In |