Solved

Can anyone help with the ?page= syntak

Posted on 2006-07-23
3
184 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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.
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

9 Experts available now in Live!

Get 1:1 Help Now