Getting data via a loop in Email delivery Hi, I have been having a little bit of difficulty in order to get dynamic data in the loop. Let me explain.The idea is to print images using <tr><td>. Example: if there are 4 (even) images, then first two will be in a row and the remaining two will be in the second row.If there are 5 (odd) images, then first two will be in a row, the next two will be in the second row, and the 5th image will be place at the center on the third row. I check for images based on the store-stock data.So, for image1, there will be a checker. Lets call it chk1. If there is stock for image1, then chk1=1. Similarly for image2, if there is stock, then chk2=1. I have got 6 images in total. Therefore, I have 6 checkers too. I add all the checkers and add it to a variable called as DispItemCount. The logic behind this is that, if DispItemCount=6, that means all the images are there. If DispItemCount=5, then only 5 images are there but we do not know which one is not there. In order