cleanair4me
Technical User
- May 16, 2008
- 61
I am trying to retrieve the results from a query of my Oracle 9i database. In every call it should retrieve a single row from the results and returns it as an array, where each field of the row is in an array key.
My attempt but it doesnt give me any data:
My attempt but it doesnt give me any data:
Code:
while (rs.next())
{
String res = stmt.executeQuery("select * from Customers where ID = 34");
String firstname = "";
String lastname = "";
String $inf [];
if($inf.equals(getParameterValues($res)) {
out.write(inf[firstname]);
out.write(inf[lastname]);
}