$con = mysqli_connect(,,,,);
if (mysqli_connect_errno())
{
echo "<option>Failed to connect to MySQLi</option>";
}
$result = mysqli_query($con,"SELECT * FROM Category");
while($row = mysqli_fetch_array($result)) {
echo "<option value="".$row[" category="]."">".$row['Category']."</option>";
}
mysqli_free_result($result);
mysqli_close($con);
?>
Using what you provided I was able to come up with this, which worked flawlessly. Thanks.