Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%[
- SET @Email = AttributeValue("Email")
- SET @ProductDetails = LookUpOrderedRows("LookUpDE", 0, "Product ASC", "Email", @Email)
- SET @CountPD = RowCount(@ProductDetails)
- IF @CountPD > 0 THEN
- FOR @i = 1 to @CountPD DO
- SET @Row = Row(@ProductDetails, @i)
- SET @Product = Field(@Row, "Product")
- SET @NumberOfPoints = Field(@Row, "NumberOfPoints")
- /* YOUR HTML TABLE BELOW */
- ]%%
- %%=v(@Email)=%%
- %%=v(@Product)=%%
- %%=v(@NumberOfPoints)=%%
- %%[
- NEXT @i
- ELSE
- SET @message = "There is no product details"
- ENDIF
- ]%%
- ------------------------------------------------------------
- Email | Product | NumberOfPoints
- ------------------------------------------------------------
- [email protected] | Mastercard | 12345
- [email protected] | Visa | 999
Add Comment
Please, Sign In to add comment