Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> get parameter from a html-<select ... multiple> - tag

get parameter from a html-<select ... multiple> - tag

From: Rüdiger J. Schulz <johannes.schulz_at_web.de>
Date: 23 Oct 2001 10:49:18 +0200
Message-ID: <3bd52f0e$1@netnews.web.de>


how do I evaluate parameter from a <select...multipe>-html-tag in a pl/sql-procedure?

here is the procedure:

procedure htp_mult (wert varchar2 := '0') as
begin

   if wert = '0' then

      htp.print('<form>');
      htp.print('<action="http://adress/pls/verk/htp_mult");
      htp.print('method="post">');
      htp.print('<select name="wert" size=3 multiple>');
      htp.print('<option>first');
      htp.print('<option>second');
      htp.print('<option>third');
      htp.print('</select>');
      htp.print('<br><br><input type="submit" value="Auswählen">');
      htp.print('</form>');
   else
      insert into test (erg, art) values (wert, 'option');
      commit;
      htp.print('Wert '||wert||' eingetragen!');
      htp.print('<br><br>zurück');
   end if;
end;

thanks in advance ...
Rüdiger J. Schulz
rjs_at_berlin.de

-- 
__________________________________________________________
News suchen, lesen, schreiben mit http://newsgroups.web.de
Received on Tue Oct 23 2001 - 03:49:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US