title: Query time result in MySQL w/ PHP
body: <p>Is there a way that I can get the time of a MySQL query (specifically with PHP)? The actual time it took to complete the query, that is.</p>
  
  <p>Something such as: Results 1 - 10 for brown. <strong>(0.11 seconds)</strong> </p>
  
  <p>I tried to look for an example, to no avail. Here is an example of my code:</p>
  
  <pre><code>                    // prepare sql statement
                  $stmt = $dbh-&gt;prepare("SELECT ijl, description, source, user_id, timestamp FROM Submissions WHERE MATCH (ijl, description) AGAINST (?)");
  
                  // bind parameters
                  $stmt-&gt;bindParam(1, $search, PDO::PARAM_STR);
  
                  // execute prepared statement
                  $stmt-&gt;execute();
  </code></pre>
  
  <p>For my current full text search using a MyISAM table engine. Any help would be incredible. Thank you.</p>