Can anyone tell me why row[0] has data, but row[1] to row[3] are undefined (empty)?
I have 4 rows in my database having bookid = '35'.
<?php
$mysqli = new mysqli('localhost', 'root', '', 'assignment3');
$query = "select image from images where BookId='35'";
$result = $mysqli->query($query);
$row = $result->fetch_array(MYSQLI_NUM);
echo $row[0];
echo $row[1];
echo $row[2];
echo $row[3];
?>