3 V4.80 8 Mar 2006 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
4 Released under both BSD license and Lesser GPL library license.
5 Whenever there is any discrepancy between the two licenses,
6 the BSD license will take precedence.
11 error_reporting(E_ALL);
13 $path = dirname(__FILE__);
15 include("$path/../adodb-exceptions.inc.php");
16 include("$path/../adodb.inc.php");
19 $db = NewADOConnection("oci8");
20 $db->Connect('','scott','natsoft');
23 $cnt = $db->GetOne("select count(*) from adoxyz");
24 $rs = $db->Execute("select * from adoxyz order by id");
27 foreach($rs as $k => $v) {
29 echo $k; adodb_pr($v);
33 if ($i != $cnt) die("actual cnt is $i, cnt should be $cnt\n");
37 $rs = $db->Execute("select bad from badder");
39 } catch (exception $e) {
41 $e = adodb_backtrace($e->trace);