I am trying to insert time format(12:45) in a form designed by using php language.I want to insert time format in the text field. my database table name is store_login_time. Table field is same "time".
<input type="text" name="time" id="time" value="<?php echo $time?>"/>
here php script is used to store value in database. My database table name is "login_time" and table field is "time" format type is "TIME" Please help me I am poor in php.