title: How to use mysqli in WordPress
body: <p>I need to know how to use mysqli in WordPress. I don't want to use wpdb or PDO any thing else. Actually the issue is there are 190+ queries written in mysql and i need to convert them to mysqli, i know the better solution is to go with wpdb. But it would be more time taking. So i just i need to know how to use mysqli in WordPress. I have googled it lot but every where every one is suggesting to use wpdb, but i want to stick with mysqli.</p>
  
  <p>So right now my code is e.g : </p>
  
  <pre><code>mysql_query("select * from `wp_users`);
  </code></pre>
  
  <p>if I write in mysqli it would be</p>
  
  <pre><code>mysqli_query($HOW_TO_GIVE_CONNECTION_HERE, "select * from `wp_users`);
  </code></pre>
  
  <p>Thanks!!</p>