DJ Stephen
Fully Optimized
- Messages
- 3,275
Hi,
I want this to work so i followed this code from a little tutorial i used:
Whats happening to me is i have pasted this php code where i want it, and i am having a problem that its just displaying the name in the echo speech marks when i want it to display the fonts.php page.
What extra code would i need?
Thanks
Steven
I want this to work so i followed this code from a little tutorial i used:
Code:
<?php
switch($_GET['page']) {
case "fonts":
echo "fonts";
break;
case "products":
echo "Products";
break;
case "contact":
echo "Contact";
break;
default:
echo "index";
break;
}
?>
Whats happening to me is i have pasted this php code where i want it, and i am having a problem that its just displaying the name in the echo speech marks when i want it to display the fonts.php page.
What extra code would i need?
Thanks
Steven