<?php
$connect = mysqli_connect(“localhost”, “username”, “password”, “database”);
if (mysqli_connect_errno()) {
echo “连接失败: ” . mysqli_connect_error();
}
mysqli_query($connect, “DELETE FROM tqk_article WHERE cate_id = 5 ORDER BY id ASC LIMIT 10”);

mysqli_query($connect, “repair table student”);

mysqli_close($connect);
>

 

 

注:这是为删除推券客文章准备的,试验证明,删除后需要修复下那个表,要不首页不更新。

发表评论

共有 0 条评论