【发布时间】:2021-10-25 11:49:25
【问题描述】:
我有一个页面“nnnx.php”,它有一个日期选择器。日期输入将为:$nnnx = $_POST['nnnx'];
我想要打开 nnnx.php 时,输入的默认值为今天:$nnnx = $today; (= date("Y/m/d"))
当日期选择器值input, $nnnx = $_POST['nnnx'];
(类似这个页面:https://www.history.com/this-day-in-history)
你能帮帮我吗?非常感谢!
【问题讨论】:
标签: php datepicker