Hi I have a problem with HTML5 time attribute.
My code looks like this,
<input type="time" name="e_time">
the sample output is looks like this
[e_time] => 19:08
It gives an array in 24 hours format. But the problem is My SQL is not accepting this in "time " data type. How do I do this? I tried adding
$time2 = $_POST["e_time"] . ":00";
and added :00 for the end of the string but it still fails. can anyone suggest me how to solve this? Thanks!