We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0968ca19 authored by mattl's avatar mattl

update text

parent de7ec0d8
......@@ -44,25 +44,25 @@ if ($req_user) {
$res = $mdb2->query("SELECT username, artist, track, time FROM Scrobbles WHERE username = '" . $req_user . "' ORDER BY time DESC LIMIT 100");
echo "<h2>Last 10 Gobbles by " . $req_user . "</h2>";
echo "<h2>last 100 Gobbles by " . $req_user . "</h2>";
} elseif ($req_artist) {
$res = $mdb2->query("SELECT username, artist, track, time FROM Scrobbles WHERE artist = '" . $req_artist ."' ORDER BY time DESC LIMIT 100");
echo "<h2>Last 10 Gobbles of " . $req_artist . "</h2>";
echo "<h2>last 100 Gobbles of " . $req_artist . "</h2>";
} elseif ($req_track) {
$res = $mdb2->query("SELECT username, artist, track, time FROM Scrobbles WHERE track = '" . $req_track . "' ORDER BY time DESC LIMIT 100");
echo "<h2>Last 10 Gobbles of " . $req_track . "</h2>";
echo "<h2>last 100 Gobbles of " . $req_track . "</h2>";
} elseif (!$res) {
$res = $mdb2->query("SELECT username, artist, track, time FROM Scrobbles ORDER BY time DESC LIMIT 100");
echo "<h2>Last 10 Gobbles</h2>";
echo "<h2>last 100 Gobbles</h2>";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment