Jump to content

PHP navigation


norse

Recommended Posts

Ok this is really a n00b question but i know the answer would be quite easy. But ive tried to google it read some books but no exact explanation and implementation on this one.

Ok here is the problem.

I have a website and some links like

About Us | Contact Us | Home ---> I want to appear in the address bar like index.php?dpage=1 for aboutus and index.php?dpage=2 for contactus

I know ?dpage would be a variable, but can anyone point me in the correct path on how to implement this kind of navigation.

If you can post the exact file structure on this one that would be of great help. Thanks
Link to comment
Share on other sites

it seems to be working fine but the problem is that its not showing up the index.php file when i pull up index.php its not showing up. and one more thing mate. its not showing in the address bar like index.php?dpage=1 or index.php?dpage=2 i want to show it in the address bar. can you please check this one out
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.