Home >Backend Development >PHP Tutorial >PHP数组的有关问题,找资料看不明白

PHP数组的有关问题,找资料看不明白

WBOY
WBOYOriginal
2016-06-13 10:12:39868browse

PHP数组的问题,找资料看不明白。
Array ( [0] => Array ( [imgname] => zq.jpg [introduce] => 哈哈 ) )

这样一个数组是几维的数组?结构式什么样子的?大家给小弟讲解一下吧?最好还有PHP数组的说明。

------解决方案--------------------
一般呢 有几个array就是几维

结构什么样子?

print_r 输出这个数组...
------解决方案--------------------
這裡有數組的資料:

http://www.w3school.com.cn/php/php_ref_array.asp
------解决方案--------------------

PHP code
Array(    [0] => Array        (            [imgname] => zqjpg            [introduce] => 哈哈        ))<div class="clear">
                 
              
              
        
            </div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn