Ok here's my issue: i'm trying to preocess a GET command for a flat-file menu system.
here's my script:
so the index.php parses a menu alright, the problem right now lies with the location they're referring to:
follow this for a preview please: http://piotography.zqx.net/index.php?page=Home
that should officially work, but we just get some ad,,, which is not my homepage a'ight?
main site is here: http://piotography.zqx.net/
the menu is opening by the little checkbox..., help please:S
thanx in advance;)
here's my script:
CODE
function menu(){
$albums = scandir("photos");
$num = 0;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Home'>Home</a><br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=POD'>POD</a><br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Voortgang'>Voortgang</a> <br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Tekeningen'>Tekeningen</a> <br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Bestandsuitwisseling'>Bestandsuitwisseling</a> <br />";
$num++;
$menu[$num] = "<br />";
return $menu;
}
$albums = scandir("photos");
$num = 0;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Home'>Home</a><br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=POD'>POD</a><br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Voortgang'>Voortgang</a> <br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Tekeningen'>Tekeningen</a> <br />";
$num++;
$menu[$num] = "<a href='http://piotography.zqx.net/index.php?page=Bestandsuitwisseling'>Bestandsuitwisseling</a> <br />";
$num++;
$menu[$num] = "<br />";
return $menu;
}
so the index.php parses a menu alright, the problem right now lies with the location they're referring to:
follow this for a preview please: http://piotography.zqx.net/index.php?page=Home
that should officially work, but we just get some ad,,, which is not my homepage a'ight?
main site is here: http://piotography.zqx.net/
the menu is opening by the little checkbox..., help please:S
thanx in advance;)
OMFG!!!!! it's ZXQ , not ZQX!. sorry!!
