title: real escape string to multiple connection
body: <p>it is possible to have multiple connection for one variable in real_escape_string?</p>
  
  <p>my problem is that i need to insert the same <code>$_POST</code> into two diferent DB.</p>
  
  <p>please see here:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  $con=mysqli_connect("localhost","my_user","my_password","my_db");
  $con2=mysqli_connect("localhost2","my_user2","my_password2","my_db2");
  
  
  
  // Check connection
  if (mysqli_connect_errno()) {
   echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }
  
  // escape variables for security
  $username = mysqli_real_escape_string($con, $con2, $_POST['username']);
  mysqli_close($con, $con2);
  ?&gt;</code></pre>
  </div>
  </div>
  </p>