How hard is it to set up a basic Oracle SQL query from a form /input box on a web page then return a list of figures from the database wiht inthe browser?!
But this is where I get annoying! I know basic html etc where would this fit into a very very simple html page with an input box or go button for the query execution?!
You would need to write a PHP script to take the input from the box and execute the query accordingly.
I've not worked with Oracle but with MySQL the basic (and very generalised) process is as follows.
[ul]
[li]Create the form in HTML and assign unique id's to the fields[/li]
[li]When the form is submitted execute the PHP script (there are a number of ways to do this)[/li]
[li]Using PHP get the values that were input into the form[/li]
[li]Open a connection to the Oracle server
[li]Using those values, formulate your Query and throw it at the Oracle server[/li]
[li]Get the Query results... do something with them[/li]
[/ul]
Very general... you'd also need to parse the form info and check it, do some error checking on the connections etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.