如图: [field:id runphp=yes] $tsql = new DedeSql(false); $tags = ''; $tsql-SetQuery(Select i.tag From dede_taglist t left join dede_tagindex i on i.id=t.tid where t.aid='@me'); $tsql-Execute('t'); while($row = $tsql-GetArray('t',MYSQL_ASSOC
如图:
标签如下:
- [field:id runphp=yes]
- $tsql = new DedeSql(false);
- $tags = '';
- $tsql->SetQuery("Select i.tag From dede_taglist t left join dede_tagindex i on i.id=t.tid where t.aid='@me'");
- $tsql->Execute('t');
- while($row = $tsql->GetArray('t',MYSQL_ASSOC)){
- $tag .= "<a href='/tags.php?/".urlencode($row['tag'])."'>".$row['tag']."</a> ";
- }
- @me=$tag;
- [/field:id]
|
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!