multiple email sending with unique content
Hello, got a slight issue I need to tweak. My page does a multiple record update (for customer orders) and at the same time it will send out those customers an email notification to say their order has been updated. my form is using a checkbox beside each record, so admin can select which orders to be updated. this part works and here is my current code for the update to put it in context.
<?php
if (isset($_POST["Save"])) {
mysql_select_db($database_dinkydb, $dinkydb);
$query_rsOrders = "UPDATE orders SET OrderProcess = '".$_POST["order-update"]."' WHERE OrderID IN (".implode(", ",$_POST["order-reference"]).")";
mysql_query($query_rsOrders, $dinkydb);
}
?>
I have added a create email message server behaviour and clicking on the To... button I have selected recordset loop.
I have attached a screenshot. The issue I am having is that, it does send out multiple email, however in each email it display identical content...and its suppose to display dynamic content such as the customer order reference number. So my question how would I make this email send unique record detaills such as customer name, customer order number etc.
Chris