M
M
Maxim Tyulpakov2015-11-10 14:55:23
PHP
Maxim Tyulpakov, 2015-11-10 14:55:23

Why is the output of the passed value of the variable in the browser window?

Server: Microsoft-IIS/7.5 /PHP5.5.30
If the id is deleted directly in the browser line, then there will be nothing on the ID value screen, only the content part will remain (as intended)...
b11c53a09da9451cafe80dc104ad395b.JPG
File connection using id

echo $id;
    switch($id){
      case 'home':
        include 'home.php';break;
      case 'testing':
        include 'testing.php';break;
      case 'plans':
        include 'plans.php';break;
      default:
        include 'index.inc.php';
    }
    ?>

Content area content:
<h2> Раздел находится в разработке </h2>
<p> На данной сранице Вы сможете проверить свои знания </p>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lander, 2015-11-10
@MaXComp

echo $id; //ни на что не намекает?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question