解决方案 »
- PHP求助 哭死了,求高人啊啊啊
- 求PHP查询两个表的方法!
- Warning: rename(./新建文本文档11.txt,./新建文本文档111.txt) [function.rename]: Permission de
- 请教一个MYSQL数据库查询的问题
- 在函数里include文件时会何会把文件名打印出来
- www.sj-8.com现在诚聘PHP版主,希望有识之士前来参与!
- 请问如何在浏览器上隐藏页面传递的内容
- 怎么样把查询的数据进行算法计算?
- 如何用PHP获取客户端的浏览器类型、功能信息?(急)
- thinkphp5.1修改路由,隐藏public/index.php,5种方法都失败了。请高手指点!
- XAMPP 没有编译,是什么问题?
- 为什么很长的url在chrome下没问题,在ie下就变成下载了呢。
qtrans_use($q_config['language'],'<!--:zh-->更多<!--:--><!--:en-->More<!--:-->') 這裏我把相關方法修改為自定義方法,是正確的,所以可以確定不是混排的問題。
<?php
$str = 'post id';function qtrans_use($a, $b){
return $a.$b;
}
//if ( $query->have_posts() ) :
$out = "<ul class='post-list'>";
//while ( $query->have_posts() ) : $query->the_post();
$out .= "<li style='list-style:none;list-style-type:none;'> "."<a href='".$str."'>".$str."
</a><a class='list_title' href='".$str."'>" .$str. "</a>
<a class='excerpt' href='".$str."'>
<span>".qtrans_use($str,'<!--:zh-->更多<!--:--><!--:en-->More<!--:-->')."</span></a>
</li>";
//endwhile;
$out .= "</ul>";
echo $out;
//return $out;
//else:
// return "<p>No Post found.</p>";
//endif;
?>
但你並沒有給出qtrans_use的源碼。沒法判斷。