Hey
I run a PHP-driven template website. The pages get a variable from the URL and load the page according to value of that variable. For example, it will get the value "company" from the variable in the URL and will therefore display the "company.php" webpage within my index.php page.
Now, when I first go on to the website, and it loads the index.php file, how do i set that variable to "company" so that the "company.php" webpage is loaded straight away when the user first enters index.php? To begin with their is no variable in the URL.
Thanks.



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks