retrieve record from Oracle by its position?
Posted: Wed May 14, 2003 10:32 am
I have been using JSP + Oracle. In JSP, to retrieve records, I can write some code like the following:
rs=stmt.executeQuery("select first_c, second_c, third_c from tablename");
while (rs.next()) {
String first_c = rs.getString(1);
String second_c = rs.getString(2);
String third_c = rs.getString(3);
}
In PHP, can I do something similar as above? That is, can I use number to retrieve a record in Oracle table?
Thanks.
Jie Huang
rs=stmt.executeQuery("select first_c, second_c, third_c from tablename");
while (rs.next()) {
String first_c = rs.getString(1);
String second_c = rs.getString(2);
String third_c = rs.getString(3);
}
In PHP, can I do something similar as above? That is, can I use number to retrieve a record in Oracle table?
Thanks.
Jie Huang