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
https://forums.phpfreaks.com/topic/74259-solved-need-help-php-php-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.