Hello y ' All I am relatively new to PHP, please forgive me for being stupid.
I'm currently working with the switch, and I was wondering how--if possible at all--to add the second variable to the same page. For example
I want to be able to my browser type is:
Php?scs=blah ">www.mysite.com/index.php?scs=blah
And got some parts of my site. Similarly, I would like to type:
Www.mysite.com/index.php?atp=blah
And get a different part.
I've set two variables, but the problem is I have a default setting for the first variable that needs to stay up late. The switch code is as follows
$scs = $_get[' SCS '];
@include (' pt1.php ');
Switch ($SCS) {
Default
@include (' vm9.php ');
Break
Case VSTR:
@include (' vst/v1.php ');
break; $ATP = $_get[' ATP '];
Switch ($ATP)
{Case credits: @include (' atp/credits.php '); break;
function dosomething (x)
{
if (x = = = "somestring")
{ $ ("#item"). CSS (" Background-color "," Blue ");
$ ("Div.items"). Slideup ("fast");
$ ("input[checkbox]:checked"). Hide ();
}
}