我不知道如何很好地解释它,因为我是一个 php 菜鸟,但我试图在 $meta['track']['title'] 中回显标题(我想从数据库中选择)
<?php
$meta['neuwsarch']['title'] = "Title";
$meta['neuwsarch']['keywords'] = "key, key2, key3";
$meta['neuwsarch']['description'] = "description";
$data = mysql_query("SELECT title FROM news WHERE seo='".$seo."' AND ID='".$ID."'");
$news = mysql_fetch_assoc($data) ;
$meta['news']['title'] = "ECHO TITLE IN HERE";
$meta['news']['keywords'] = "kwd1, kwd2, kwd3";
$meta['news']['description'] = "trackert";
?>