Hi Guys
So i have the following code:
<?php
session_start();
include_once("config.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Shopping Cart</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<br><br>
<div id="search-wrapper">
<h1 id = "mainHeader>Search for books</h1>
<?php
$query = "SELECT Category FROM books";
$result = mysqli_query ($mysqli, $query);
echo "<select name=dropdown value=''>Dropdown</option>";
while($row = mysqli_fetch_array($result))
{
echo "<option value=$row[Category]>$row[Category]</option>";
}
echo "</select>";
?>
</div>
</body>
</html>
I dont receive any errors when i run the page the only issue i have is that the page is blank
all i have is the colour ive given to the body in css
Any ideas why nothings being show?
Thanks!