/* 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");
namecursor = database.cursor("select name from employee where ssn = " + client.ssn + "", true);
namecursor.next();
Current Enrollee:
write(namecursor.name);
You may choose "Add Dependent" to add a dependent to your benefits
enrollment information. Or, choose your dependent's name to modify his or
her information.
cursor = database.cursor("select ssn, name from dependent where employee_ssn = " + client.ssn + " order by name");