title: Get all time value according to its primary key
body: <p>I have a mysql table like this:
  <a href="https://i.stack.imgur.com/cUgIF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cUgIF.png" alt="enter image description here"></a></p>
  
  <p>I want to extract all time value from the table by ID and date using php. Thanks in advance.</p>
  
  <p>I want the output to be like this:</p>
  
  <pre><code>01403003 2015-09-01 07:54 11:00 11:42 17:02 17:03
  </code></pre>