How to transfer text from the form on the 1st page to another page, but through the get method?

  • Through get to transfer the text from the form? o_O What a perversion?) - nikita_sergeevich
  • Do not like do not pass it !!!!! - cas

2 answers 2

<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