Link to order history
Trying to add a link to the order history page from the login page once a user has logged in.
All the order and user data is stored correctly in the database but for some reason I cant pass the UserId from the login page to the order history page.
This is the link <a href="customer_order_history.php?UserID=">Order History</a>
When I test the recordset of the order history page with UserId's the correct results are returned.