$result = mysqli_query($con, "SELECT *,DATE_FORMAT(blog_date, '%d/%m/%Y') as niceDate FROM blog order by id_blog desc limit $limitFirst, $post_num ");
//print mysqli_num_rows($result);
if (mysqli_num_rows($result) == 0)
header("location:blog.php");
while ($row = mysqli_fetch_assoc($result)) {
echo '
';
}
?>
' . $row["blog_content"] . '