21,886
社区成员
发帖
与我相关
我的任务
分享
while($row=mysql_fetch_array($result)){
$ar[]=$row["支付状态列"];
}
foreach($ar as $key=>$value){
if($value=="未支付"){
echo "<input type=\"button\" id=\"$key\" diabled=\"disabled\"/>";
}else{
echo "<input type=\"button\" id=\"$key\" \/>";
}
}