Hi all... I'm trying write a function to export certain information from a
database that has related information in different tables. I can extract the
info fine it's just getting it to match up where I'm having the issues. Is
this the time for the join command? Basically I have order_id that carries
into several tables. I need to extract that info that's related to each
order_id. Thanks!
$select = "SELECT * FROM orders, orders_products WHERE orders_status='2' AND
orders_id=orders_products.orders_id";