当前位置:Gxlcms > PHP教程 > 怎么出错了呢?求原理

怎么出错了呢?求原理

时间:2021-07-01 10:21:17 帮助过:3人阅读

'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";}

人气教程排行