$price=array('tires'=>100);
$price['oil'] =99;
$price['spark plug']=50;
$price['test']=100;
while(list($product,$price)=each($price))
echo $product.'-'.$price.'<br/>';
ERROR:Variable passed to each() is not an array or object
$price['oil'] =99;
$price['spark plug']=50;
$price['test']=100;
while(list($product,$price)=each($price))
echo $product.'-'.$price.'<br/>';
ERROR:Variable passed to each() is not an array or object
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货