Email Order Details to Supplier
Greetings WebAssist, I have a problem getting a script I had developed to work with my new mysqli pages. The page is part of my order management system where I can email an order to my supplier. From my order_details.php page I can press a button that emails my vendor the customers name and address, as well as the entire shopping cart details. It worked beautifully on my old website but does not work now. I have attached the two files, orders_details.php and vendor_email.php for you to inspect. I stripped the foreach loop out of vendor_email.php because it does not work. It only emails the first record of a customers order and not multiple records which it needs to do. Any help you can give me will be greatly appreciated.