execute("/> execute(">
两个dd写一样的循环代码,其中一个不被执行是吗?
两个dd写一样的循环代码,其中一个dd显示为空白
<br /> $ztzs=$dbc->prepare("select * from naszt where 1=1 and zttype='威联通'");<br /> $ztzs->execute();<br /> <br /> <br /> <dd><br /> <?php while($row=$ztzs->fetch()){?><br /> <div class="ztzs"><br /> <a href="ztselect.php?id=<?php echo $row["id"]?>" target="_blank"> <br /> <img src="ztImg/<?php echo $row["headimg"] ? alt=" 两个dd写一样的循环代码,内中一个不被执行是吗 " >"><br /> </a><br /> <p><?php echo $row['ztname'] ?></p><br /> </div> <br /> <?php } ?><br /> </dd> <br /> <br /> <dd><br /> <?php while($row=$ztzs->fetch()){?><br /> <div class="ztzs"><br /> <a href="ztselect.php?id=<?php echo $row["id"]?>" target="_blank"> <br /> <img src="ztImg/<?php echo $row["headimg"] ? alt=" 两个dd写一样的循环代码,内中一个不被执行是吗 " >"><br /> </a><br /> <p><?php echo $row['ztname'] ?></p><br /> </div> <br /> <?php } ?><br /> </dd><br /> <br /> <br /> <br /> <br /> <br /> <br />