prepare("SELECT a.*, c.name cat_name FROM articles a LEFT JOIN categories c ON a.category_id=c.id WHERE a.status=? AND (a.title LIKE ? OR a.content LIKE ? OR a.excerpt LIKE ?) ORDER BY a.created_at DESC"); $st->execute(["published",$like,$like,$like]); $articles = $st->fetchAll(); } require_once __DIR__ . "/includes/header.php"; ?>

搜索

没有找到匹配的文章
'">