-3
Oops, well I’m not being able to display all the data in my database. I don’t know why it’s because (maybe) there’s nothing wrong with my code
My code
<?php
$host = '';
$user = '';
$pass = '';
$db = '';
$conn = mysqli_connect($host, $user, $pass, $db);
$sql = 'SELECT * FROM 'cast_vbr' WHERE 1';
$query = mysqli_query($conn, $sql);
$r = mysqli_fetch_assoc($query);
if($r) {
echo $r['title'];
}
?>