|
|
|
PHP
Linking
How It Works:
It Works just the same as an iframe. But when you go to a
certain height, You dont have a scrollbar, besides the main
one. PHP linking is a script that posts whatever new content
is shown.
CODE |
<?php switch($id) { default: include('blah.php');
break; case "1": include('blah1.php');
break; case "2": include('blah2.php');
break; case "3": include('blah3.php');
break; case "4": include('blah4.php');
break; case "5": include('blah5.php');
break; case "6": include('blah6.php');
break; case "7": include('blah7.php');
} ?>
|
When you code, be sure to place that code where the new
content will be. If you want to change "id" to what
you want, change the switch($id) to switch($whatever). Also,
numbers can be changed to words.
How To Link:
CODE |
<a href="blah.php?id=blah">Text</a>
|
Tutorial By Xtasy
|
|