2012-07-23, 05:58 AM
Recently i also started a topic "How to create PHP page" in that discussion i learn making page through id's like index.php?id=wall
Here is i need more help.
Here is My Structure for creating Page
Wallpapers>Bollywwod>Celbrities Name>page1,2,3,4,5,6.....
and
How to access this
May be index.php?id=wall?id=kat
i don't think this is a correct formating
i put this code but not working...
Here is i need more help.
Here is My Structure for creating Page
Wallpapers>Bollywwod>Celbrities Name>page1,2,3,4,5,6.....
and
How to access this
May be index.php?id=wall?id=kat
i don't think this is a correct formating
i put this code but not working...
<? php
$id = $_GET['id'];
if ($id == 'wall')
{
//output page 1
include 'wallpapers/index.php';
//i want to create more category in this is, how to do that?
if ($id == 'kat')
{
echo "Celebrities Name";
}
if ($id == 'pre')
{
echo "Second Name";
}
}
elseif($id == 'vid')
{
//output page 2
include 'video.php';
}
else
{
//this is outputted if no ID is given
echo "oops, No Id Found";
}
?>