I have got it figured out but now I am wondering how do you get it so that in your browser it will be something like calendar.php?cal=2005&month=feb I can get it to do that except if I have echo on the variable cal=2005 then it will show up when I put the cal=2005&month=feb plus the text that I want to echo back when you type that it so how can I get it so that cal=2005 will echo back as say calender and cal=2005&month=feb will just echo back with other next nothing that is on the cal=2005
here is my script
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
if( !$cal )
{
echo \"Calender\";
}
if( $cal == 2005 )
{
echo \"Choose a month\";
}
if( $cal == \'2005\' && $month == \'jan\' )
{
echo \"January\";
}
[/span][!--PHP-Foot--][/div][!--PHP-EFoot--]