Home >Backend Development >PHP Tutorial > 这样的二维数组如何构造

这样的二维数组如何构造

WBOY
WBOYOriginal
2016-06-13 13:38:391051browse

这样的二维数组怎么构造?
算了,还是给地址吧 http://www.lingyu8.com/
郑州人才网最新招聘信息 这里,上一维是公司名称,下一维是公司招聘职位,这如何构造?

------解决方案--------------------
$array=new array('comName'=>new array('hello','world'));
------解决方案--------------------
$Array=new array('name'=>array('Boss','Migrant workers'));

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