Files
lpmj6/11/09.php
T
2021-04-18 11:18:28 +01:00

16 lines
265 B
PHP

<?php
require_once 'login.php';
try
{
$pdo = new PDO($attr, $user, $pass, $opts);
}
catch (PDOException $e)
{
throw new PDOException($e->getMessage(), (int)$e->getCode());
}
$query = "DROP TABLE cats";
$result = $pdo->query($query);
?>