MÃ HTML
MÃ PHP
Trong đó, time trong sql tính theo giây, VD như: 1553501001
Nhập vào input: 29/05/2019
Mn giúp e hoàn thiện cái search status theo thời gian giúp em với ạ
E cảm ơn nhiều
HTML:
<input type="text" class="date-picker" name="tungay" placeholder="Từ ngày" value="">
<input type="text" class="date-picker" name="denngay" placeholder="Đến ngày" value="">
PHP:
$tungay= $_GET['tungay'];
$denngay = $_GET['denngay'];
if(isset($_GET['timkiem'])) {
$result = mysql_query("SELECT * FROM `status`");
}
while($row = mysql_fetch_assoc($result)) {
Nhập vào input: 29/05/2019
Mn giúp e hoàn thiện cái search status theo thời gian giúp em với ạ
E cảm ơn nhiều