Ec (2); Hello yall, I am a relatively new PHP, please forgive me for being stupid. I am currently working with the switch, and I am wondering how-if possible, add the second variable to the same page on All. For example, if I want to access my browser: php? Scsblahwww. mysite. comindex. php? Scsblah and obtained some parts of my website. Similarly, I want the type: www. mysite. comindex. php? Atp script ec (2); script
Hi y'all, I'm a new PHP. Please forgive me for being stupid.
I am currently working with the switch, and I am wondering how-if possible, add the second variable to the same page on All. For example
My browser type is:
Php? Scs = blah "> www.mysite.com/index.php? Scs = blah
And obtained some parts of my website. Similarly, I want the type:
Www.mysite.com/index.php? Atp = blah
And obtain different parts.
I have already set two variables, but the problem is that I have the first variable set by default and need 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 ");
$ ("P. items"). slideUp ("fast ");
$ ("Input [checkbox]: checked"). hide ();
}
}