in reply to cascade TMPL_LOOP with DBI values

Did you read any documentation before posting this question? Check out Framework, Templating, and Content Management Systems from the Tutorials section of this site. There are a few tutorials that I believe may clear up whatever problems you may have with this.

Hope this helps

Martin