how to store hour and minute in database table while using mktime() function?
<p>I am using a form to get the hour and minute using post method and then store it to mysql DB.</p>

<p>Such as : </p>

<pre><code>$hour = $_POST['hour'];
$minute = $_POST['minute'];
</code></pre>

<p>** There is no need of date, month and year. I just need to store the hour and minute in a column of a table (ex: exam_time)</p>

<p>Column structure: <strong>exam_time time NOT NULL</strong></p>

<p>Now how to store these value into database using mktime() function. I tried but it stores 00:00:00, not the one which I am sending via form.</p>
