View Single Post
01-12-2006, 04:41 AM
#10
sletts02 is offline sletts02
sletts02's Avatar
Status: Online
Join date: Nov 2005
Location: Brisbane, Auustraaaliiaaaa
Expertise:
Software:
 
Posts: 1,279
iTrader: 0 / 0%
 

sletts02 is on a distinguished road

Send a message via MSN to sletts02

  Old

For the fist one posted by nirvana you simply enter the following code where you want your included page to go.

PHP Code:
<?php
switch($id)
{
  default:
    include(
'index.html');
  break;
  case 
"websites":
    include(
'websites.html');
  break;
  case 
"logos":
    include(
'logodesigns.html');
  break;
  case 
"smallurl":
    include(
'however_large_long_page_name.html');
  break;
  case 
"page4":
    include(
'page4.html');
  break;
  case 
"page5":
    include(
'page5.html');
}
?>
Instead of doing this for your links:
HTML Code:
<a href="websites.php"></a>

<!-- You enter THIS code instead... -->
<a href="index.php?id=websites"></a>

<!-- This is especially good when you have a long page name like in the small url example. -->

Original Link:
<a href="however_large_long_page_name.html"></a>

It would Be:
<a href="index.php?id=smallurl"></a>