时间:2021-07-01 10:21:17 帮助过:2人阅读
while ($down=mysql_fetch_array($downser)){ $kb_data_glay .= $down[goods_sn].'$'.$down[goods_name]."','";}$kb_data_glay = substr($kb_data_glay, 0, -1);
while ($down=mysql_fetch_array($downser)){ $kb_data_glay[] = $down[goods_sn].'$'.$down[goods_name];}$kb_data_glay = join(',', $kb_data_glay);
多谢版主大大~我怎么就忘记这个截取的了呢~
第二个代码 还没想通 慢慢想想!