/* Check to make sure we are connected to the database before allowing access to the home page. If not connected, go connect and initialize; otherwise, welcome the user.\ */ if(!database.connected()) redirect("init.htm"); hrcursor = database.cursor("select * from hr_notes", true); statuscursor = database.cursor("select * from status where employee_ssn = " + client.ssn + "", true); statuscursor.next(); namecursor = database.cursor("select name from employee where ssn = " + client.ssn + "", true); namecursor.next();
Current Enrollee:write(namecursor.name);


Please choose a coverage step in the left-hand frame.

The following coverage steps are those that you have not updated:


Notes from HR
    while (hrcursor.next()) { write("
  • " + hrcursor.note); }