Creating Loop in UE Body
Greetings,
I am trying to create a loop inside UE (inside the text body) so that if I am uploading multiple files it sends the file name to a specific e-mail.
I have it working so far so that it can recognize one file from the upload.
------------------------------------------------
The files uploaded were as follows:
Filename: <?php echo ((isset($_POST["Filename"]))?$_POST["Filename"]:"")?>
Filedate: <?php echo ((isset($_POST["Filedata"]))?$_POST["Filedata"]:"")?>
------------------------------------------------
How do I loop this so that it either sends multiple e-mails for each file uploaded or how do I prevent the e-mail from sending till all the files are uploaded. So if there are 5 files uploaded it would repeat the filename and filedate 5 times in the e-mail body?
I would appreciate any help!
Thanks,
Martin