Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. CREATE OR REPLACE PROCEDURE SAMPLE_P
  2. (I_CUSTOMER_ID in varchar2,
  3. I_PRODUCT_CODE in varchar2)
  4.  
  5. AS
  6. --var declarations here...
  7. htp.p('html head body tags here...');
  8.  
  9. htp.p('<form action="SAMPLE_B" method="post" name="sample_form" enctype="text/plain">');
  10.  
  11. htp.p('<input type="hidden" value="'||i_customer_id||'" name="i_customer_id">
  12. <input type="hidden" value="'||i_product_code||'" name="i_product_code">');
  13.  
  14. htp.p('submit button and all the ending html tags here');
  15.  
  16. create or replace PROCEDURE SAMPLE_B(
  17. i_customer_id in varchar2,
  18. i_product_code IN VARCHAR2)
  19. AS
  20.  
  21. BEGIN
  22. htp.p('<html><head></head><body><h1>cust id = '||i_customer_id||'</h1><br><h1>product
  23. ='||i_product_code||'</h1> <br> </body><html>');
  24.  
  25. END SAMPLE_B;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement