How to transfer text from the form on the 1st page to another page, but through the get method?
2 answers
<input value="<?php echo $_GET[number] ?>"> - And the value of the number parameter from GET will be in the input box. - andrewshka
|
Where form attribute method put as get And the field is called number. And on the page
<?php $number=$_GET['number']; echo "$number"; ?> Если я не ошибаюсь то так. Вообще гет и пост сильно не отличаются. - It is necessary that on another page go into the form - cas
- Only better is just echo $ number; Quotes to anything. - Oleg Arkhipov
|