exec($sql); echo "Удалено строк: $affectedRowsNumber"; } catch (PDOException $e) { echo "Ошибка базы данных: " . $e->getMessage(); } ?>