Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE OR REPLACE PROCEDURE SAMPLE_P
- (I_CUSTOMER_ID in varchar2,
- I_PRODUCT_CODE in varchar2)
- AS
- --var declarations here...
- htp.p('html head body tags here...');
- htp.p('<form action="SAMPLE_B" method="post" name="sample_form" enctype="text/plain">');
- htp.p('<input type="hidden" value="'||i_customer_id||'" name="i_customer_id">
- <input type="hidden" value="'||i_product_code||'" name="i_product_code">');
- htp.p('submit button and all the ending html tags here');
- create or replace PROCEDURE SAMPLE_B(
- i_customer_id in varchar2,
- i_product_code IN VARCHAR2)
- AS
- BEGIN
- htp.p('<html><head></head><body><h1>cust id = '||i_customer_id||'</h1><br><h1>product
- ='||i_product_code||'</h1> <br> </body><html>');
- END SAMPLE_B;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement