jpadie:
I run the first:
$result = mysql_query("SELECT ORDERS_ID FROM orders WHERE customers_id='1'");
That returns orders_ids (1,2,3,etc)
Then i need to run another query to find the data from table Orders_products using each of the orders_ids (1,2,3,etc):
$result = mysql_query("SELECT *...