怎么出错了呢?求原理
本帖最后由 abu_sec 于 2013-05-21 14:26:40 编辑
<?php<br>$colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');<br><br>foreach ($colors as $color) {<br> echo "Do you like $color['red']?\n";<br>?> 分享到:
------解决方案--------------------
------解决方案--------------------
<br>$colors = array('red'=>'hongse', 'blue'=>'lanse', 'green'=>'lvse', 'yellow'=>'huangse');<br><br>foreach ($colors as $color) {<br> echo "Do you like $color?\n";<br>}<br>









