Jump to content

[SOLVED] Need help ( .php? .php# .php/ )


SirAndy

Recommended Posts

Ok, first off I'm somewhat of a noob..

 

I am trying to figure how to setup my website to go to a certain page by using the .php?page=pagename  not sure how to explain this really...

my index.php file is just used to bring all the parts of my site together header, navbar, body, footer

the problem is I have many pages, and I really dont want to waste the time, or space having to make a seperate page.php (which just would read include("content/page.php"); i have all the actual content pages seperate.

 

anyways.. lets say i made a page    permanentlinks.php  i would like for this file to hold information for linking all the pages of my site for instance    permanentlinks.php?page=home.php or w/e

 

so basically i just need to know how to use ".php?action=w/e"

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.