Hey guys... Up till now I've been using something like this
function contents($alpharoot)
{
if(special conditions) {
special code
} else {
INCLUDE $alpharoot . ".php";
}
}
contents($_GET['alpharoot']);
with alpharoot value.php containing the code I need.
Now I was wondering if there's another way...
And don't suggest "make a page for everything" because mainly I'm experimenting with php simulation, and that's not exactly it XD.