Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $select_time = "SELECT time FROM timet";
- $result = $db->query($select_time);
- if(isset($_POST['insert_time'])) {
- $AddQuery = "INSERT INTO timet (time) VALUES ('$_POST[add_time]')";
- mysqli_query($db,$AddQuery);
- };
- echo " <input type=time name=add_time />";
- echo "<input type=submit name=insert_time value=submit " ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement