Jump to content

Php Sectionid


webmaster

Recommended Posts

I've seen some websites that have one page, example page.php with a ?sectionid=number so it looks like this: www.example.com/page.php?sectionid=1. Each new page is still page.php, just with a new sectionid. How/why do the developers use this technique instead of different pages?

Link to comment
Share on other sites

And when a new piece of content is created (e.g. a new blog post) you don't have to manually create a new page, you can just use the querystring to figure out which bit to pull from the DB.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...