$today=date('Y-m-d'); SELECT order_num WHERE date = $today;. 如果今天的日期是2022-05-18,那就會搜尋出0001 這筆資料。 利用MySQL CURDATE() 函式.
確定! 回上一頁