"; $sql = "SELECT * FROM suspect;"; if($result = mysqli_query($connection, $sql)) { if(mysqli_num_rows($result) > 0) { while($row = mysqli_fetch_array($result)) { echo $row['name'] . "
"; } } } mysqli_close($connection); ?>