去评论
dz插件网

兄弟们帮忙看看SQL语句哪里写错了

饾暦饾枎饾枒饾枏饾枂饾枅饾枑
2024/05/25 19:22:18
  1. <?php        $today=date('n月j日',time());        $result = mysqli_query($conn,"SELECT * FROM historytoday where title like '%".$today."%'");        while($row = mysqli_fetch_array($result)){                echo "<li><a href=list.php?id=".$row['id'].">".$row['title']."</a></li>";        }        ?>