it depends on what URL Variable name the recordset is expecting.
if you create the link to pass the ID variable using the name RecordNumber, you need to make sure the recordset on the Detail.php page is looking for that URL variable name.
the key is to make sure the links and the recordset are using the same name for the URL variable. if the recordset is looking for the recordID URL variable and you pass it as RecordNumber, that wont work.