title: Avoid returning it to the top of the page
body: <p>I would like that when I press a submit button, the page remains at the position where it is currently, I know that it must be used:</p>
  
  <pre><code>&lt;form action="&lt;?php echo $_SERVER['PHP_SELF'].'#ancre'.$i ?&gt;" method="post"&gt; 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;span id="#ancre"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>But I do not know where the positioned, at least when I try it does not work.
  My code:</p>
  
  <pre><code>&lt;form action="&lt;?php echo $_SERVER['PHP_SELF'].'#ancre2'.$i ?&gt;" method="post"&gt;
                    &lt;h1&gt;
                        &lt;label for="reponse"&gt;Votre r&amp;eacuteponse :&lt;/label&gt;
                        &lt;input class="question" type="text" name="reponse" 
                         placeholder="Avec l'unit&amp;eacute" size="10" maxlength="10" 
                         /&gt;
                        &lt;input type="submit" name="valider2" value="V&amp;#233rifier 
                        r&amp;#233ponse" /&gt;
                        &lt;?php
                        if(isset($_POST['valider2'])) {
                            $reponse = -1;
                            $personne=$_POST['reponse'];
                            if ($personne == $reponse) {
                                echo 'Bravo vous avez juste !';
                            }
                            else {
                                echo 'Vous avez faux, concentrez-vous';
                            }
                        }
                        ?&gt;
                        &lt;span id="#ancre2"&gt;&lt;/span&gt;
                    &lt;/h1&gt;
  &lt;/form&gt;
  </code></pre>