Welcome Guest, Not a member yet? Register   Sign In
oci8_result.php's question

A warning occurred when retrieving data from Oracle.

1. In database config
$db['default']['dbdriver'] = 'oci8';

2. In controller
$query = $this->db->get( 'TABLE' );

3. Then a PHP error was encountered
Severity: Notice
Message: Undefined variable: rowcount
Filename: oci8/oci8_result.php
Line Number: 56

Variable $rowcount has no value, is this a bug?

I got same problem and i have replace return $this->num_rows;

now its working

Theme © iAndrew 2016 - Forum software by © MyBB