Producten";
if ($id !== null) echo " in categorie $id";
echo "";
?>
EOF;
} while (false); ?>
query("select id, image, price, name from webs.product");
} else {
$statement = $cursor->prepare("select id, image, price, name from webs.product where category = ?");
$statement->bind_param("i", $id);
$statement->execute();
$res = $statement->get_result();
}
while ($product = $res->fetch_object()) product_template($product);
?>