/* 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 dep_rel order by rel_id");
You may either delete an existing dependent relationship (top table) or
add a dependent relationship (bottom table).