小编Dav*_*eel的帖子

PHP显示为HTML

这是我的代码

<?
include_once($_SERVER['DOCUMENT_ROOT'] . "/inc/path.php");

include $_SERVER['DOCUMENT_ROOT'] . "/inc/category_functions.php";

if (!$go4th) {
    die();
}

$content_links = content_links('tbl_content', 'content_id', 'title', '');

$content_id = 1; // home page content ID
$content = get_record('tbl_content', 'content_id', $content_id);
if ($content->show_title == 1) {
    $title = '<div class="content-title">' . $content->title . '</div>';
}

if ($content->page_title) { $page_title = $content->page_title; }
else if ($content->title) { $page_title = $content->title; }

if ($content->meta_keywords)    { $meta_keywords = $content->meta_keywords; } 
else                            { $meta_keywords = $META_KEYWORDS; }

if ($content->meta_description) { $meta_description = …
Run Code Online (Sandbox Code Playgroud)

html php .htaccess wamp wampserver

2
推荐指数
1
解决办法
196
查看次数

标签 统计

.htaccess ×1

html ×1

php ×1

wamp ×1

wampserver ×1