调用代码:
[e:loop={'select * from phome_enewstags order by rand() limit 1',32,24,0}] <li><a href="/zt/<?=$bqr['tagid']?>/"><?=$bqr['tagname']?></a></li> [/e:loop]
伪静态
rewrite ^(.*)/zt/(.+?)$ $1/e/tags/?tagid=$2;
2023-12-10 17:15:57
调用代码:
[e:loop={'select * from phome_enewstags order by rand() limit 1',32,24,0}] <li><a href="/zt/<?=$bqr['tagid']?>/"><?=$bqr['tagname']?></a></li> [/e:loop]
伪静态
rewrite ^(.*)/zt/(.+?)$ $1/e/tags/?tagid=$2;