The final result will be a array sent using JSON
PHP Code:
$saleArray[] = array('EmailAddress'=>$selectSend->fields['EmailAddress'],
'FirstName'=>$selectSend->fields['FirstName'],
'LastName'=>$selectSend->fields['LastName'],
'ProductIDs'=>$selectSend->fields['ProductIds']
);
and the ProductIDs is to be a comma separated list of the model numbers in the order.
Is there another way to pull that array to start with besides that while statement? I just need the list of model numbers from the order. (not that it matters but the query only pulls the ordered products that are in one category - not all)
Bookmarks