回复讨论(解决方案) $colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');fo">
输入banner图图片脚本导航/分类

怎么出错了呢?求原理

'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');foreach ($colors as $color) {   echo "Do you like $color['red']?\n";?>


回复讨论(解决方案)

$colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');foreach ($colors as $color) {   echo "Do you like $color?\n";}