PHP navigation
So, Having trouble Using PHP Links? Unfimiliar with them? Or want to learn them? Well I will tell you how it is done.
There are a few ways you can use php linking. Lets use one that I use, shall we?
Let's Define how it works. People Use Php linking for news posters and other stuff. 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...
Ok, Before I go to the main code, I will just show you how to link it.
<a href="blah.php?id=blah">Whatever</a>
Now, I hope you know to change the blah's and whatever. hehe. But you can change the "id" also. You can change it in the main code in which I will show you soon.
The 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');
} ?>
Now This is the tricky part. When you code, Please be sure to place that code in the where the new content will be, because this script is an including the file. (remember the news portal) . If you want to change "id" to what you want, change the switch($id) to switch($whatever). numbers can be changed to words if you want.