/* 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");
cursor = database.cursor("select * from employee where ssn = " + client.ssn + "", true);
cursor.next();
namecursor = database.cursor("select name from employee where ssn = " + client.ssn + "", true);
namecursor.next();
Current Enrollee:
write(namecursor.name);
Please enter your general employee information below. Information such
as address, telephone number, fax number, etc. is requested.