ok for some reason I can't get
if ($_GET['album'] != 'demo' || $_GET['album'] != 'egn') {
echo "<p>Sorry, but you have requested an album that does not exist.</p>";
}
else {
require("lyrics/" .$_GET['album']. ".html");
}
or
if ($_GET['album'] != 'demo' || 'egn')
to work. It's not a major problem because I just swapped it around to
if ($_GET['album'] == 'demo' || 'egn') {
require("lyrics/" .$_GET['album']. ".html");
}
else {
echo "<p>Sorry, but you have requested an album that does not exist.</p>";
}
But if someone could explain why the first way didn't work I'd appreciate it.