I read a book about PHP and write the code exactly as in the book and the result is different. More precisely does not work.
The case looks very simple. There is a name entry field, you press the button and it should display the type: "Hello" This and that ".
Here is the form itself:
<form action="scripts/sayHelloWeb.php" method="POST"> <p> <i>Введите своё имя: </i><input type="text" name="name" size="20" /> </p> <p><input type="submit" value="Поприветствуйте меня" /></p> </form> And here is the second code directly from the sayHelloWeb.php file:
<div id="content"> <h1>Привет, <?php echo &_REQUEST['name']; ?></h1> <p>Рады приветствовать вас. Добро пожаловать в начало нашей одиссеи в мире PHP программирования!</p> </div> In the end, does not display the name. Page two appears but no name.
Here is the first screen:
But the result after pressing the button:
And the most incomprehensible to me. Why does the browser see it this way? :
Thanks in advance to the sages)


