Can you supply more code pertaining to where $supplier is used?
Are you adding this value to the email inside of the loop or outside of the loop?
By looking at what you have, if you have multiple items in the order $supplier will only be contain the value of the last item in this list.