next up previous
Next: Processing HTML Forms Up: No Title Previous: Passing Parameters

Printing HTML Tables

   cursor c1 is
      select   *
      from     catalog;

   htp.tableOpen(cattributes => 'border=2 width=60%' );
   htp.tableRowOpen;
   htp.tableHeader('Course Number');
   htp.tableHeader('Course Title');
   htp.tableRowClose;
   for cat_rec in c1 loop
     htp.tableRowOpen;
     htp.tableData(cat_rec.cno);
     htp.tableData(cat_rec.ctitle);
     htp.tableRowClose;
   end loop;
   htp.tableClose;



Dr. Raj Sunderraman
6/23/1998