registeracy

SELECT o.id_order, c.email, c.firstname, c.lastname, d.product_name, o.payment, o.id_cart FROM tb_orders o INNER JOIN tb_customer c ON ( c.id_customer = o.id_customer ) INNER JOIN tb_order_detail d ON ( d.id_order = o.id_order ) WHERE o.delivery_number <> 1array(1) { [0]=> array(7) { ["id_order"]=> string(5) "10674" ["email"]=> string(25) "" ["firstname"]=> string(5) "Lucie" ["lastname"]=> string(12) "Hlavačková" ["product_name"]=> string(55) "17.12.2022 ŽIVÁ EXOTIKA (Vstup od / Entry from: 9:00)" ["payment"]=> string(26) "COMGATE - platební brána" ["id_cart"]=> string(5) "13794" } }