目前我有这个
$time = $db->get_row("SELECT shift,shiftend FROM schedule2");
$curHour = $time->shift;
$endHour = $time->shiftend;
echo $curHour;
echo "<br>";
目前这个出口时间为12:00:00,可以改为00:00:00
请告诉我
问候
格伦
答案 0 :(得分:0)
如果要覆盖数据库的值,则只需使$ curHour =“00”;