兄弟们帮忙看看SQL语句哪里写错了
- <?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>"; } ?>