Book Id |
Title |
Author Name |
Cost |
Quantity |
";
while($row = mysqli_fetch_array($result))
{
echo "";
echo "" . $row['bookId'] . " | ";
echo "" . $row['title'] . " | ";
echo "" . $row['authorName'] . " | ";
echo "" . $row['cost'] . " | ";
echo "" . $row['quantity'] . " | ";
echo "
";
}
echo "
";
}
}
else{
session_destroy();
$_SESSION = array();
header("location: main.php");
}
?>