QuestionQ63

VerifiedScripting and Automation

A developer needs to create an AMPscript FOR loop that populates HTML table rows according to the number of rows and the data in a target data extension.

Where should the developer put the FOR keyword to start the loop?

Explanation

An AMPscript FOR loop repeats the code within its body. Placing it before the <tr> tag causes one complete HTML table row, including its cells, to be generated for each data-extension row; the <table> element remains a single enclosing table.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!