Hi,
I'll try to explain the situation with the url.
In this example the file that is requested is index.php.
The variable changes(newsid=1)
The content on the page is partly static wich always has the same values like the layout banner etc.
And partly dynamic. When the newsid varable changes the content changes. The dynamic information can be retrieved externaly like a database.
Ill give you an example
save this file as index.php
Code:
<html>
<head></head>
<body>
<h1>this text is static and remains the same<h1>
<?php
if (isset($_GET["id"])){
echo ("this is an dynamic id:<br />".$_GET["id"]);
}
else{
echo("now enter index.php?id=1");
}
?>
</body>
<html>
All the dynamic info is generated within the <??> tags
This way you only use one page for more data. This can be effiecent for news pages forums and guestbooks.
if you want to start learning try
w3c schools
__________________________________________________ ________
This is my junk I'm gona eat it