Home » SQL & PL/SQL » SQL & PL/SQL » querying database through a html form
querying database through a html form [message #36118] Tue, 06 November 2001 09:47 Go to next message
Dan Maranan
Messages: 1
Registered: November 2001
Junior Member
This should be a simple script, but I am having difficulty figuring out how to do it.
Basically I want to query a database column through PL/SQL via the web.

For example, lets say a user wants to find all instances of “computer, keyboard, and mouse” in my database. I want to be able to search through a column and find all instances where those terms exist.

On a form in html users input their search parameters (computer keyboard mouse).

Those parameters are than passed to a variable (search_param = computer keyboard mouse);

Finally a search is done based on those parameters in SQL:

SELECT *
FROM table_computer
where column_hardware in (search_param);

Unfortunately this doesn’t work. Any ideas?

----------------------------------------------------------------------
Re: querying database through a html form [message #36122 is a reply to message #36118] Tue, 06 November 2001 11:10 Go to previous messageGo to next message
Todd Barry
Messages: 4819
Registered: August 2001
Senior Member
Dan, here is a link to an excellent discussion on that topic:

http://asktom.oracle.com/pls/ask/f?p=4950:8:243146::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:210612357425

----------------------------------------------------------------------
Re: querying database through a html form [message #37670 is a reply to message #36118] Tue, 19 February 2002 22:41 Go to previous message
re
Messages: 1
Registered: February 2002
Junior Member
vcxvxcvxcvxcvxccccccccccccccccccc
Previous Topic: Does anyone who knows about dbms_pipe?
Next Topic: Trigger
Goto Forum:
  


Current Time: Fri Apr 19 15:36:55 CDT 2024