wbesty
(wbesty)
注册会员

一般会员
UID 15711
精华
0
积分 79
帖子 79
金钱 79 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2002-8-6
状态 离线
|
[广告]: 代充Paypal帐号美元
这个表达是怎么写?
<?
$sqlpath="select * from path where filmid='$id'";
$resultpath=mysql_query($sqlpath);
$i=1;
while($rowspath=mysql_fetch_array($resultpath))
{
echo "<input type=text name=${path.$i} value=$rowspath[path]> <br>" ;
$i++;
}
?>
有什么不对? 将name=${path.$i}改成name=$i 就可以了!
怎么不对?
|
|