I am making dynamic php pages. I sucessfully made it. The problem is only . i have set my index page with my text and images when i click my next button the net page came upper side of my index page.which i dont want that. I want when i click my next button the information of 2 button came only no index page.
anyone tell me how to do it
Php dynamic page problem
Moderator: General Moderators
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: Php dynamic page problem
Code?
Maybe use a switch statement?
Maybe use a switch statement?
Code: Select all
switch ($_GET['page'])
{
case "contact":
include("contact.php");
break;
default: //display index
include("index.php");
}