这个怎么实现呢?急! 什么意思?是不是循环显示数据把while的}拿到HTML的下面<?php }?> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <table border="1" width="100%" id="table1"> <tr> <td> <table border="1" width="100%" id="table2"><? $i=1 while (($shp_row > $shp_bottom) and ($shp_row > 0)){ list($chanpin)=explode("|",$shp_array[$shp_row]); if($i%2==1) echo "<tr><td width=\"367\">$chanpin</td>" else echo "<td>$chanpin</td></tr>"; $i++; if ($shpcount <= 0){break;} $shp_row--; } if($i%2==0) echo "</tr>";?> </table> </td> </tr></table> 如何知道正则匹配到的了哪个字符集合? session 使用的问题 诚招PHP程序员-上海 高分求教 preg_replace替换问题 现在流行的php框架有哪些 ajax的一个问题 上传得问题 javascript 难题 div嵌套的点击事件 那里能找到比较好的php的下载站点: thinkphp 视频上传后的问题~急 关于Session的一个问题,大侠帮忙 我是菜鸟,有关一个my sql的问题,很棘手
<tr>
<td>
<table border="1" width="100%" id="table2">
<? $i=1
while (($shp_row > $shp_bottom) and ($shp_row > 0)){
list($chanpin)=explode("|",$shp_array[$shp_row]); if($i%2==1)
echo "<tr><td width=\"367\">$chanpin</td>"
else
echo "<td>$chanpin</td></tr>";
$i++;
if ($shpcount <= 0){break;}
$shp_row--;
}
if($i%2==0) echo "</tr>";
?>
</table>
</td>
</tr>
</table>