"1111","2"=>"2222","3"=>"3333"  );        if&"/> "1111","2"=>"2222","3"=>"3333"  );        if&">
Home > Backend Development > PHP Tutorial > php 二维数组解决方法

php 二维数组解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:41:32
Original
833 people have browsed it

php 二维数组

<br />
<br />
       $name[0]= array("1"=>"1111","2"=>"2222","3"=>"3333"  );<br />
       if (isset($name[0]["1"]))<br />
        {<br />
                echo "wancheng fuzhi ";<br />
                echo $name[0][1].$name[0].$name[0];<br />
        }<br />
        else<br />
                echo "fffffffffff";<br />
Copy after login


直接贴代码 运行结果是  fffffffffff 就像是二维数组赋值赋不进去一样 求助

二维数组 PHP
Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template