diff --git a/basictitlesearch.php b/basictitlesearch.php
index 5379278..814c991 100644
--- a/basictitlesearch.php
+++ b/basictitlesearch.php
@@ -11,7 +11,7 @@ $db = new SQLite3('metadata.sqlite');
$titlequery = $db->query("SELECT
books.id AS id,
books.title AS title,
-SUBSTR(comments.text,10,120) AS excerpt
+SUBSTR(comments.text,0,120) AS excerpt
FROM books
INNER JOIN
comments ON comments.book = books.id
@@ -87,15 +87,15 @@ ORDER BY books.title ASC");
Close
-
+
-
About Me
-
Emily Tran Le
-
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.
diff --git a/itemrecord.php b/itemrecord.php
index 83d3c0a..bb91e1f 100644
--- a/itemrecord.php
+++ b/itemrecord.php
@@ -3,7 +3,7 @@
// Get and use an item record ID (ItemRecordID) to use for a data pull
$ItemID = htmlspecialchars($_GET["itemid"]);
-// -------------------- END DATABASE QUERIES --------------------
+// -------------------- BEGIN DATABASE QUERIES --------------------
// Establish atabase connection
$db = new SQLite3('metadata.sqlite');
@@ -148,17 +148,17 @@ while ($row = $type->fetchArray()) {