我有以下问题:
$date = $_POST["date"];
$time = $_POST["time"];
$date $time = $_POST["datetime"];
或
$datetime = "$date $time";
$datetime = $_POST["datetime"];
如何将其插入3行?
答案 0 :(得分:0)
.
来实现此目的。$date = $_POST["date"];
$time = $_POST["time"];
$datetime = $date.$time; // Your date and time is concatenated into $datetime variable.