Solved

Can anyone help with the ?page= syntak

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

680 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