Hi there,
Just looking for some help on a couple of unrelated topics..
First off, I'm looking for some (free) scripts that will run a featured artist/band profile I can set to run randomly from mySQL... anyone seen anything like this?
Secondly, I currently run something like this to keep my site structure clean:
<a href="index.php?id=home">home link</a>
<a href="index.php?id=news">news link</a>
<a href="index.php?id=about">about link</a>
<?php
if (($id) == "home") {
include("null.txt");
} elseif (($id) == "news") {
include("news.txt");
} elseif (($id) == "about") {
include("about.txt");
} else {
print ("404 ERROR<br>This page does not exist on this server.");
}
?>
How can I extend this to include subcategories? For example, under news (..?cat=news), I could get (..?cat=news&sub=archive ... or submit or whatever I'd need)
Any ideas?
Thanks in advance!
Rob