@@ -10,6 +10,12 @@
<?php include "../utilities/link.php" ?>
<?php
+ echo "<h1>";
+ echo htmlspecialchars($document->find("h2")->text());
+ echo "<br>";
+ echo "<small>" . htmlspecialchars($document->find("h2")->next()->text()) . "</small>";
+ echo "</h1>";
+
// ...
?>
@@ -10,6 +10,8 @@
+ echo "<h1>" . htmlspecialchars($document->find("#band-name-location .title")->text()) . "</h1>";
echo "<div class=\"results\">";
$releases = $document->find("#music-grid li");
@@ -6,6 +6,8 @@
+ echo "<h1>Search: “" . htmlspecialchars($_GET["query"]) . "”</h1>";
$ch = curl_init("https://bandcamp.com/api/bcsearch_public_api/1/autocomplete_elastic");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);