相应代码如下:
//查找相应批次id所对应的批次说明
$query2=mssql_query("select * from tb_xmpc where xm_pcid='$xmpc_id'");
$myrow2=mssql_fetch_array($query2);
$old_pc=$myrow2[xmpc_expr];
?> 分享到: ------解决方案-------------------- 你输出的怎么还是数组啊?
$query2=mssql_query("select * from tb_xmpc where xm_pcid='$xmpc_id'");
$temp=array();
while($myrow2=mssql_fetch_array($query2)){
array_push($temp,$myrow2['xmpc_ecpr']);
}