create a link the orderdetails_Results.php that passes the ID as a query string variable, for example
orderdetails_Results.php?id=31
to do this, select the ID in design view.
In the property inspector, click the Folder icon next to link and select the orderdetails_Results.php page. Then click the perameraters button, set the name of the parameter to 'id' (without the quotes) and click the lightning bolt next to value and select the ID column from the recordset.
Now, on the orderdetails_Results.php, set the Order details recordset to Filter the detailOrderID column on the id query string value being passed, this is done in simple view in the filtering section.