I see what you mean.
There are many ways of doing this (as is the norm with PHP). The easiest way is to use a seperate index file for each page:
aboutme|about.html
main|main.html
then in index.php:
$ind=file("index.dat"); // load index file
foreach ($ind as $line) {
$line=explode("|",$line);
if ($line[0]==$id) {
$page="/path/to/pages/".trim($line[1]);
break;
}
}
then, just display the page
include($page);
hey presto, that should work. I've not tested the code, so you should write your own version, but the logic is sound.
You can just use an array defined in index.php to store the id/page associations, which would be quicker, but less easy to expand on.
Hope this helps,
Dave