diff --git a/src/D2Strings.php b/src/D2Strings.php index 042d28f..e1df7a5 100644 --- a/src/D2Strings.php +++ b/src/D2Strings.php @@ -15,6 +15,7 @@ class D2Strings { public function __construct(){ $sql = "SELECT * FROM strings"; $this->strings = PDO_FetchAssoc($sql); - return $this->strings; + $_SESSION['strings'] = $this->strings; + return $this->strings; } }