dede模板写php读取数据
2020-03-02 17:11
{dede:php}
global $dsql;
$currfield = $refObj->Fields;
$sql='Select url From `dede_uploads` where title = "subcate'.$currfield['id'].'_1" limit 1 ';
$aaa = $dsql->GetOne($sql);
echo "<img alt='Siliziumwafer silicon-wafer Silicon Wafer' src= '".$aaa['url']."'>";
{/dede:php}
【责任编辑:小戴工程师】
上一篇:FastCGI 进程意外退出造成500错误 可以试试这个解决方法 下一篇:dede模板直接读取上传附件图片代码 按照id获取最新文章
2020-03-02 17:11
相关文章
2020-03-02 17:11
- 栏目页dede:channelartlist调用下级子类并dede:arcl
- asp net sql每一天一组查询循环代码 按天一组循环数
- asp ACCESS数据库怎么查当前统计一个月 一天 一周的
- dede模板直接读取上传附件图片代码 按照id获取
- asp Access随机取数据库sql语句
- 阿里云ECHSOP手机后台出现- Notice: Undefined offs
- mysql中查询当天更新数据的sql语句分享
- 低价模板网站建设制作真的好吗?六个缺点你须知
- 原创:asp代码读取一个月有多少条数据和总数
- 解决Error(1133): Can’t find any matching row in