summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpeterdd <ddpm@liscovius.de>2018-06-09 02:30:21 +0200
committerDamien Regad <dregad@mantisbt.org>2018-08-06 18:51:21 +0200
commitfac426f34f02f5d814b1ca3acc0a48f56fa75f32 (patch)
tree9f135acc256906774f85b74f5e9605e26ffb8c57 /README.md
parentac34e7169b9667ba862e8771415281b2a9bcecb9 (diff)
downloadadodb-fac426f34f02f5d814b1ca3acc0a48f56fa75f32.tar.gz
adodb-fac426f34f02f5d814b1ca3acc0a48f56fa75f32.tar.bz2
adodb-fac426f34f02f5d814b1ca3acc0a48f56fa75f32.zip
Update README.md
- add Firebird and SQLite3 to intro - fix function names in example
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 273c24ce..a83e0537 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ need for a database class library to hide the differences between the
different databases (encapsulate the differences) so we can easily
switch databases.
-The library currently supports MySQL, Interbase, Sybase, PostgreSQL, Oracle,
-Microsoft SQL server, Foxpro ODBC, Access ODBC, Informix, DB2,
+The library currently supports MySQL, Firebird & Interbase, PostgreSQL, SQLite3, Oracle,
+Microsoft SQL Server, Foxpro ODBC, Access ODBC, Informix, DB2, Sybase,
Sybase SQL Anywhere, generic ODBC and Microsoft's ADO.
We hope more people will contribute drivers to support other databases.
@@ -48,12 +48,12 @@ You can debug using:
<?php
include('adodb/adodb.inc.php');
-$db = ADONewConnection($driver); # eg. 'mysql' or 'oci8'
+$db = adoNewConnection($driver); # eg. 'mysqli' or 'oci8'
$db->debug = true;
-$db->Connect($server, $user, $password, $database);
-$rs = $db->Execute('select * from some_small_table');
+$db->connect($server, $user, $password, $database);
+$rs = $db->execute('select * from some_small_table');
print "<pre>";
-print_r($rs->GetRows());
+print_r($rs->getRows());
print "</pre>";
```