title: How to get Mysql execute messager from php code?
body: <p>How to i get messager from mysql query ?</p>
  
  <p>Ex : </p>
  
  <pre><code>$results = $this-&gt;query("SELECT * FROM tbl.admin");
  
  if($results){
      echo 'Affected rows: 0 , 6 total results , Time: 0.001s';
  }else{
      echo $mysql_error;
  }
  </code></pre>
  
  <p>so when i use update,delete query when execute success i will get messager like</p>
  
  <p>"1 row affected."</p>
  
  <p>how can i do ?</p>
  
  <p>Thanks and Regards</p>