标签:
<?php header("content-type:text/html;charset=utf8");$fruit = array( ‘apple‘=>"苹果", ‘banana‘=>"香蕉", ‘pineapple‘=>"菠萝"); print_r($fruit[‘apple‘]);
双引号不可去掉
php 关联数组
原文地址:http://www.cnblogs.com/lidepeng/p/5931699.html