Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 6, 2007, 5:38 am
rate this thread
i have a small question regarding accessing elements in a cursor which
i hope is ok to ask,.
the following code works and i'm very pleased with myself
$the_cursor = OCINewCursor($conn);
$stmt2 = OCIParse($conn, "begin
$column_name = $myset; //
$column_array  = array( $column_name,$column_desc);
however, the database weenies tell me that they'll eb modifying stuff
onthe fly so i cant count on correct index values
how do i change the above code so i can access the fields in the
cursor by column name?
i'd ideally like to just put something like
$column_name = $myset['COLUMN_NAME']; ..etc
what am i missing which would solve my quandry?
regards and than you's
- — Previous thread in » PHP Scripting Forum