diff --git a/Topics/database.md b/Topics/database.md
index 466c91f..8be0142 100644
--- a/Topics/database.md
+++ b/Topics/database.md
@@ -9,7 +9,7 @@ file with both APIs as well. Currently both APIs use SQLite backends.
##Opening a Database
There are two ways to open Titanim databases, Titanium.Database.open
-and Titanium.Database.openFile. open will create (if necessarY0
+and Titanium.Database.openFile. open will create (if necessary
and open a database in the same directory and schema as WebKit HTML 5 databases.
Use this method if you'd like to use a single database with both APIs.
@@ -58,7 +58,7 @@ Inserting and retrieving data works in a very similar way:
while (resultSet.isValidRow())
{
var text = "";
- for (var i = 0; i < resultSet.fieldCount(); i++)
+ for (var i = 0; i < resultSet.fieldCount(); i++)
text += resultSet.fieldName(i) + ":"
+ resultSet.field(i) + " ";
alert(text);