Aflux
27-01-2008, 07:24 PM
I want to use PHP includes as a means of navigation on my site so like;
www.habboer.com/index.php?page=home
takes me to the homepage and whatever 'home' is changed to, it takes you there - if there's no page then take to an error404 page.
I have a navigation box which I want the... well... navigation in and I have a content box where I want different content in depending upon the 'home' attribute.
Can anyone make me a secure code for this, thanks :D
www.habboer.com/index.php?page=home
takes me to the homepage and whatever 'home' is changed to, it takes you there - if there's no page then take to an error404 page.
I have a navigation box which I want the... well... navigation in and I have a content box where I want different content in depending upon the 'home' attribute.
Can anyone make me a secure code for this, thanks :D