Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我对 HTML5 时间属性有疑问。
我的代码看起来像这样,
<input type="time" name="e_time">
示例输出看起来像这样
[e_time] => 19:08
它提供了一个 24 小时格式的数组。但问题是 My SQL 在“时间”数据类型中不接受这个。我该怎么做呢?我尝试添加
$time2 = $_POST["e_time"] . ":00";
并在字符串末尾添加了 :00 ,但仍然失败。谁能建议我如何解决这个问题?谢谢!