Without using PHP, is there a way to grab data from a database table and transfer it into an html table? Here is my initial code, Please let me know if there are any more information I can provide, I am still new to stack overflow.
CREATE OR REPLACE package PCSPRO.SDRP15_Status_Report as
PROCEDURE ALFRED_proc1;
END SDRP15_STATUS_REPORT;
/
show errors;
----------------------------------------------------------------------------------------------------------------
CREATE OR REPLACE PACKAGE BODY pcspro.SDRP15_STATUS_REPORT AS
----------------------------------------------------------------------------------------------------------------
procedure alfred_proc1
is
begin
HTP.P('
<HTML>
<BODY>
<table bgcolor="White"> Status Report
<b><font size="4" color=black>Submission Log</font></b>
<table bgcolor="black" width=1020 align="center" border="0" cellspacing="1" class="sortable"><THEAD><tr bgcolor="#CCCCCC">
<th width=30 align=left><font size="2">DEL</font></th>
<th width=50 align=left><font size="2">EDT</font></th>
<th width=30 align=left><font size="2">Phase</font></th>
<th width=50 align=left><font size="2">State</font></th>
<th width=414 align=left><font size="2">CHG</font></th>
<th width=30 align=left><font size="2">Changes</font></th>
<th width=180 align=left><font size="2">Completed</font></th>
</table>
</BODY>
</HTML>
');
end alfred_proc1;
and my table is as follows:
SDRP15 table
| phase | |state| |chg|
--------- ------- -----
A Maryland Y
V New York N
A Florida N