title: php: how to fetch multiple tables in mysqli
body: <p>we have two table for example <code>persons1</code> and <code>persons2</code> and out put should be rows of those tables
  for exemple:</p>
  
  <pre><code>`persons1`
  +----+-------------+
  | id | name        |
  +----+-------------+
  |  1 | john        |
  |  2 | Sophia      |
  +----+-------------+
  
  and
  
  `persons2`
  +----+-------------+
  | id | the_name    |
  +----+-------------+
  |  1 | Olivia      |
  |  2 | Jackson     |
  +----+-------------+
  </code></pre>
  
  <p>Output is :</p>
  
  <pre><code>array(
  [1,'john'],
  [2,'Sophia'],
  [1,'Olivia'],
  [2,'Jackson'],
  )
  </code></pre>
  
  <p>thank you</p>