Hello,
I am using loopDbChunk snippet to loop through a series of queries from my DB. The loopDbChunk snippet allows for a single table to be queried and I need to query another table to get an image associated with a particular query (a company actually). To solve this I thought I would call a snippet from within the above snippet as the images need to coincide with the company.
Can I pass a parameter from the "Container" snippet to the inner snippet? I need to company name from the first snippet to be used in the nested snippet. Is this possible? I hope that makes sense....
Snippet Call Example:
[[loopDbChunk? ¶1=`x` ¶2=`y` &outputPara=`output-a-variable` [!images ¶=`output-a-variable`!] ]]
Thanx!!
*****************************************************
Decided just to add an image field to the DB to simplify things