From cbb1173184398a465148d9a81e41789c761c1691 Mon Sep 17 00:00:00 2001 From: xfnw Date: Thu, 24 Jun 2021 14:08:08 -0400 Subject: [PATCH] oops remove debug print --- crawl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl.php b/crawl.php index db3bfbd..ce55148 100644 --- a/crawl.php +++ b/crawl.php @@ -46,7 +46,7 @@ foreach ($arg as $url) { } echo "title: ".$title."\n"; -echo $document; + $stmt = $db->prepare('INSERT INTO indexed (title, url, content) VALUES (?, ?, ?)'); $stmt->execute([$title, $url, $document]); }