Ig you want to use a MySQL database, here is an example of code you can use... the end rersult is:
www.page.php/index?page=advertise
This would require making a database and adding your info into phpmyadmin... so you may want to look into the other replies 1st...
<?php
// Connect to the database
$db = mysql_connect("localhost","username","database_pw");
mysql_select_db (database_name);
// Ask the database for the information from the squadlinks table
$sql = "SELECT * FROM page WHERE page='{$_REQUEST['page']}'";
if (!$result = mysql_query($sql)) {
print "Invalid query ($sql) : " . mysql_error();
exit;
}
while ($row = mysql_fetch_assoc($result)) {
print "{$row['title']}.<br><br>
<font size= '2' face= 'verdana' color= '#000000'>{$row['page_content']}<br>
</table>";
}
?>
You see, in this code the php takes out the specific row when you click on, lets say index.php?page=advertising ... as in your mysql database, the page row has different page titles... like advertising, contact etc... index.php?page=$whatever, calls the specific page from the database and will display it for you.
I duno if thats what your looking for exactly... but many months ago I asked the same question on these forums... Hope I could help a little bit.