Solved

Can anyone help with the ?page= syntak

Posted on 2006-07-23
3
189 Views
Last Modified: 2013-12-25
hi,

trying to make a website that for the general part will host links and what not to interesting websites, now i plan to add a new page or two every 3 or 4 days, but to avoid changing the html code in every page i was wondering if i can put in one bit of code that will just KNOW which pages are 1, 4, 92, etc...

i have seen the "?page=" code and was wondering....

A) could this work for me
B) how to use it

If not does anyone know of  a system that will do this with the minimal need for code changing, renaming etc...
 
Any help would be great
0
Comment
Question by:martman2002uk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
humeniuk earned 65 total points
ID: 17323660
Typically, when you see that sort of syntax - "?something=this" at the end of a URL, it means that it is a dynamic website, ie. the pages are generated using content from a database.

So, you may have one html page, ie. www.domain.com/page.php (PHP because you will need to use a scripting language like PHP or ASP to access the database).  When that page is called, the syntax on the end tells the web server which record from the database the content should come from.  So, www.domain.com/page.php?page=3 and www.domain.com/page.php?page=10 are the same html page, but they are populated with different content from the database.  The more database records you have, the more pages you appear to have, but ultimately, the are really all the same html page.
0
 

Author Comment

by:martman2002uk
ID: 17336942
have you got a link where i can learn about this in a bit more detail.

and thanks once again
0
 
LVL 33

Expert Comment

by:humeniuk
ID: 17337031
Here's a very basic overview I found with a quick search on Google - www.inetwebinc.com/architecture.php3?id_in=0817IN668873.  If I find something better later on, I will post it here.  Take a look & if you have any follow up questions, please feel free to ask.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question