Updated files
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
{
|
||||
$pdo = new PDO($attr, $user, $pass, $opts);
|
||||
}
|
||||
catch (\PDOException $e)
|
||||
catch (PDOException $e)
|
||||
{
|
||||
throw new \PDOException($e->getMessage(), (int)$e->getCode());
|
||||
throw new PDOException($e->getMessage(), (int)$e->getCode());
|
||||
}
|
||||
|
||||
$query = "UPDATE cats SET name='Charlie' WHERE name='Charly'";
|
||||
|
||||
Reference in New Issue
Block a user