- [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]
|