README formatting corrections

This commit is contained in:
Timothy Warren 2012-03-15 12:09:43 -04:00
parent 39d70bf808
commit 0c2997789d

View File

@ -2,17 +2,17 @@
A query builder/abstraction layer. A query builder/abstraction layer.
## Requirements
* Pdo extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required)
* PHP 5.2+
## Databases Supported ## Databases Supported
* Firebird * Firebird
* MySQL * MySQL
* PostgreSQL * PostgreSQL
* SQLite * SQLite
* Others, via ODBC * Others, via ODBC
## Requirements
* Pdo extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required)
## Connecting ## Connecting
@ -42,6 +42,6 @@ Query uses the same interface as CodeIgniter's [Active Record class](http://code
To retreive the results of a query, use the PDO methods `fetch` and `fetchAll`. To retreive the results of a query, use the PDO methods `fetch` and `fetchAll`.
$query = $this->db->get('table_name'); $query = $db->get('table_name');
$results = $query->fetchAll(PDO::FETCH_ASSOC); $results = $query->fetchAll(PDO::FETCH_ASSOC);