FWIW I don't like the recursive nature of the method that Jason demonstrates :-)
That's not to say it is wrong I just prefer to have everything separated out into it's own table as per the example you have already downloaded from my archived site.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.