$result = mysqli_fetch_assoc(mysqli_query($connection, "DELETE FROM articles WHERE article_id = '".$_POST["article_delete"]."'"));
<?php
$delete_result = mysqli_query(
$connection,
"DELETE FROM articles WHERE article_id = '".$_POST["article_delete"]."'"
);
if($delete_result)
{
$affected_rows = mysqli_affected_rows($connection);
echo "Успешно удалено {$affected_rows} записей\n";
}
else
{
echo "Произошла ошибка при удалении\n";
}