Home >Backend Development >PHP Tutorial >这句话是什么意思呢?

这句话是什么意思呢?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:37:381090browse

为什么['lx']后面还跟着一个['email']啊  这样用对吗  是什么意思呢?
$_SESSION['lx']['email']="111@111.com"; 


回复讨论(解决方案)

不知道二维数组吗?

二维数组

<?php$arr = array(  'xl' => array(    'email' => '111@111.com'  ));echo $arr['xl']['email'];?>

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