<?php
include 'db.php';
$per_page = 6;
$sql = "SELECT 'name' FROM 'names'";
$result = mysqli_query($conn, $sql);
while($rows = mysqli_fetch_assoc($result)) {
echo '<p>'.$rows[name].'</p>';
}
?>
I am simply making pagination and printing all the names from the databse but their is some kind of mysqli error,can anyone help to resolve this issue