title: unable to place captcha where it should be using php
body: <p>Why is google recaptcha box appearing in the top of the fields, It should be appearing between the inputs and the Confirm button. Take a look at this SS right here: <a href="https://i.imgur.com/65hlNfR.jpg" rel="nofollow noreferrer">https://i.imgur.com/65hlNfR.jpg</a> .</p>
  <pre><code>&lt;?php
  $public_key=&quot;&quot;;
  $private_key=&quot;&quot;;
  $url=&quot;https://www.google.com/recaptcha/api/siteverify&quot;;
  if(array_key_exists('submit_form',$_POST))
  {
  $response_key=$_POST['g-recaptcha-response'];
  $response=file_get_contents($url.'?secret='.$private_key.'&amp;response'.$response_key.'&amp;remoteip='.$_SERVER['REMOTE_ADDR']);
  $response=json_decode($response);
  }
  ?&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Authentification&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form method=&quot;post&quot; action=&quot;auth.php&quot;&gt;
  &lt;center&gt;
  &lt;fieldset style=&quot;width:300px;&quot;&gt;
  &lt;legend align='center'&gt;&lt;h1&gt;Connexion&lt;/h1&gt;&lt;/legend&gt;
  &lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;b&gt;Email: &lt;/b&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type=&quot;email&quot; name=&quot;email&quot; required=&quot;&quot;&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;b&gt;Mot de passe: &lt;/b&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type=&quot;password&quot; name=&quot;password&quot; required=&quot;&quot;&gt;&lt;/td&gt;
  &lt;tr&gt;
  &lt;div class=&quot;g-recaptcha&quot; data-sitekey=&quot;&lt;?php print $public_key; ?&gt;&quot;&gt;&lt;/div&gt;
  &lt;script src=&quot;https://www.google.com/recaptcha/api.js&quot;&gt;&lt;/script&gt;
  &lt;td&gt;&lt;input type=&quot;submit&quot; name=&quot;submit_form&quot; value=&quot;Se Connecter&quot;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href=&quot;ajout.php&quot;&gt;&lt;button type=&quot;button&quot;&gt;S'inscrire&lt;/button&gt;&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/fieldset&gt;
  &lt;/center&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>