lets back track.
When you have the order results page open, and click a link what is the UR: Variable name?
When first opened the recordset on the order details page, what was the recordset code, before making any changes?
the where clause in the tutorial is an example, one that you need to adapt to your pages.
your recordset probably had a different variable name being used.
That part of the tutorial is not suggesting you replace the variable in the where clause, it is only going through looking at the existing where clause and adding an additional parameter for the user ID to it.