title: How to select last 3 minutes' records from MySQL with PHP
body: <p>this is my SQL table:</p>
  
  <pre><code>+----------------+----------------+-----------+------------------------+ 
  |   User_Name    |    Password    |    IP     |        Login_Time      |
  +----------------+----------------+-----------+------------------------+
  |  rthrthrhrt    |   fjdjetje5e   | 127.0.0.1 |   2011-09-24 18:02:06  |
  |  Empty         |   Empty        | 127.0.0.1 |   2011-09-24 18:10:01  |
  |  Empty         |   Empty        | 127.0.0.1 |   2011-09-24 18:04:00  |
  |  rsyrt         |   rwytw4364    | 127.0.0.1 |   2011-09-24 18:08:59  |
  |  eryrjrj5      |   Empty        | 127.0.0.1 |   2011-09-24 18:03:56  |
  |  reutreuetry   |   reuretyre    | 127.0.0.1 |   2011-09-24 18:06:53  |
  |  Empty         |   rthrtrt      | 127.0.0.1 |   2011-09-24 18:05:51  |
  |  djdjgdjh      |   66735        | 127.0.0.1 |   2011-09-24 18:09:49  |
  |  fgjdgjdhg     |   Empty        | 127.0.0.1 |   2011-09-24 18:07:46  |
  |  Empty         |   Empty        | 127.0.0.1 |   2011-09-24 18:11:43  |
  +----------------+----------------+-----------+------------------------+
  </code></pre>
  
  <p>I am developing a brute force addon with PHP and MySQL. I would like to select last 3 minutes' records. </p>
  
  <p>for example (what i'd like to do?): time is now: 2011-09-26 9:45:00. i would like to select all records between 2011-09-26 9:45:00 and 2011-09-26 9:42:00. </p>