// Dump all the classes out to the page cursor = database.cursor("select * from cl_master"); while (cursor.next()) { write("
" + trim(cursor.c_title) + "
"); } cursor.close();