Hi Guys
So i have the following code:


<!DOCTYPE html>
<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">

<div id="search-wrapper">
<h1 id = "mainHeader>Search for books</h1>

$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>";




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?


ah silly mistake i found the error. I forgot close off the heading " marks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.