Solved

Can anyone help with the ?page= syntak

Posted on 2006-07-23
3
185 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Read about why website design really matters in today's demanding market.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now