{pc:get sql=”select * from v9_picture_data where id = ‘$id’”} {loop $data $n $r} {loop string2array($r[‘pictureurls‘]) $pic_k $v} <a href=”{$r[url]}”><img src=”{$v[url]}” alt=”{$v[alt]}”/></a> {/loop} {/loop} {/pc}
相关文章
- 04-05phpcms如何调用某一组图里的所有图片
2022-04-05 03:14:11
{pc:get sql=”select * from v9_picture_data where id = ‘$id’”} {loop $data $n $r} {loop string2array($r[‘pictureurls‘]) $pic_k $v} <a href=”{$r[url]}”><img src=”{$v[url]}” alt=”{$v[alt]}”/></a> {/loop} {/loop} {/pc}