[后台调用]调用数据字典(单项)DYCMS
[后台调用]调用数据字典(单项)...
<td class="radiolist"> <?php $dictsql="select id,mingcheng from dict_item where dictid=3 order by paixu asc,id asc"; $dictresult=$conn->query($dictsql); if($dictresult->num_rows>0){ while($dictdata=$dictresult->fetch_assoc()){ ?> <input type="radio" name="leixing" id="leixing<?php echo $dictdata["id"]?>" value="<?php echo $dictdata["id"]?>" <?php if($leixing==$dictdata["id"]){?>checked="checked"<?php }?> /> <label for="leixing<?php echo $dictdata["id"]?>"><?php echo $dictdata["mingcheng"]?></label> <?php } } ?> </td>
上一篇:DYCMS发送邮件
下一篇:没有了
我要评论