We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15afc2e commit f389d76Copy full SHA for f389d76
1 file changed
EasySQL.php
@@ -374,16 +374,4 @@ public function save($table, $data)
374
return $stmt->execute($values);
375
}
376
377
-
378
- /**
379
- * Sets the character set for the database connection.
380
- *
381
- * @param string $charset The character set to use.
382
- */
383
- public function setCharset($charset)
384
- {
385
- $this->charset = $charset;
386
- $dsn = "mysql:host=$this->host;dbname=$this->database;charset=$this->charset";
387
- $this->pdo = new PDO($dsn, $this->username, $this->password);
388
- }
389
-}
+}
0 commit comments