in the recordset, set the filter to use a URL variable named DEAbasketID
that will cause the code to create the variable to look like this:
$colname_rsCourse = "-1";
if (isset($_GET['DEAbasketID'])) {
$colname_rsCourse = $_GET['DEAbasketID'];
}
add a line before that to set the DEAbasketID url variable to contain the value of $DEAbasket->DisplayInfo("ID"):
$_GET['DEAbasketID'] = $DEAbasket->DisplayInfo("ID");