0
我有一些代碼,下面的查詢......減去時間的方法一天PHP
$student_result = db_query("select id,timestamp,time_id,unschedule_code from student where canceled='0' and email='".$email."' and timestamp > '".time()."'");
我想改變和時間戳>「」。時間()。「'」);時間 - 第1天我tryed像...
$student_result = db_query("select id,timestamp,time_id,unschedule_code from student where canceled='0' and email='".$email."' and timestamp > '".time(). - 1"'");
...沒有運氣頁根本無法加載,所以我敢肯定,語法甚至沒有任何有效的幫助表示讚賞...
。
熱潮!你釘了兄弟。好決定。 – Lumbee