title: Execute two queries at the same time
body: <p>I am working on a small PHP script and i want to use two mysqli queries at one statement.
  Here is the two queries:</p>
  
  <pre><code>$sql = ("select * from titles where id=$id")
  $sql2 =("select * from titles where id=$id2") 
  </code></pre>
  
  <p>and i want to output them in this way:</p>
  
  <pre><code>&lt;li&gt;&lt;span&gt;RECORD FROM QUERY1&lt;/span&gt;&lt;span&gt;RECORD FROM QUERY2&lt;/span&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Is it possible to do this using Mysqli and PHP ?</p>