In a website that ALL webpages are of index.php?id=1, index.php?id=2, index.php?id=3,

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

In a website that ALL webpages are of index.php?id=1, index.php?id=2, index.php?id=3,

In a website that ALL webpages are of index.php?id=1, index.php?id=2, index.php?id=3, index.php?id=4,...... how this mechanism is and work ? are they take markup code from database table fields, by this way ?

I mean from home: index.php?id=1 you go to a subpage eg: index.php?id=2 by click ...well ? are they save markup code from database table fields, and visitor retrieves this by surf this way ? If yes, how the developer edits the markup code from database fields, in a WYSIWYG Editor ?

it can involve a database, but it isn't necessary. If it is fairly static content (meaning not something like a blog or something else you need a DB for), it would be easier to code like this (using php):

PHP Code:

<phpif (!isset ($_GET['id'])){ //if no GET data present, load the default page contentinclude "path/to/default/content.php";} else { //otherwise, use the GET 'id' to load the desired content$page = $_GET['id']; include "path/to/content/page".$page.".php"; //e.g., if the url is "index.php?id=1" //this will load the content from your external file named "page1.php" into index.php.}?>