PHP Display related records
<p>I need some advice on how to do this. My project allows users to create orders and I have created a table that lets them see their particular orders. I also have a link that will then show them the details of that order.</p>

<pre><code>&lt;tr&gt;
  &lt;td align="center"&gt;&lt;a href="CustomerOrderDetails.php?recordID=&lt;?php echo $row_Orders['OrderNumber']; ?&gt;"&gt;&lt;?php echo $row_Orders['OrderNumber']; ?&gt;&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $row_Orders['Customer']; ?&gt;&lt;/td&gt;
  &lt;td align="center"&gt;&lt;?php echo $row_Orders['OrderDate']; ?&gt;&lt;/td&gt;
  &lt;td align="center"&gt;&lt;?php echo $row_Orders['RequiredDate']; ?&gt;&lt;/td&gt;
  &lt;td align="center"&gt;&lt;?php echo $row_Orders['Freight']; ?&gt;&lt;/td&gt;
  &lt;td align="center"&gt;&lt;a href="DeleteOrder.php?recordID=&lt;?php echo $row_Orders['OrderNumber']; ?&gt;"&gt;Delete&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>The OrderNumber is passed by appending the OrderNumber to the URL, however, if the user then changes the value in the address bar, they will be able to view a different order which will not be their order.
Is there a way to display these related orders in a different way so that users can not access other users orders?</p>
