Installation Guide
Make sure you are running PHP 4.0.5 or later. Unpack all the files into a directory accessible by your webserver.
To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly. You can debug using $db->debug = true as shown below:<?php
include('adodb/adodb.inc.php');
$db = ADONewConnection($database);
$db->debug = true;
$db->Connect($server, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";
?>手册上的
Make sure you are running PHP 4.0.5 or later. Unpack all the files into a directory accessible by your webserver.
To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly. You can debug using $db->debug = true as shown below:<?php
include('adodb/adodb.inc.php');
$db = ADONewConnection($database);
$db->debug = true;
$db->Connect($server, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";
?>手册上的
$conn = NewADOConnection('oracle')
$conn->debug = true;
echo " <br>New ADoDB";
$conn->PConnect("192.168.158.9", "admin", "admin", "TEST");
echo " <br>PConnect";
print $conn->ErrorMsg();$result = $conn->Execute("SELECT * FROM SAJET.G_SN_STATUS WHERE SERIAL_NUMBER = 'AAA'");