0
我试图从数据库中获得的行数,也许像:mysqli的一个日期间2列日期
$query = mysqli_query($con, "SELECT * FROM table WHERE '2015-03-01' IS BETWEEN column_1 and column_2 ");
if (mysqli_num_rows($query) < 1) {
echo "nothing found !";
} else {
echo "numrow found !";
}