Home > Backend Development > PHP Tutorial > 数组关系婚配

数组关系婚配

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:39:38
Original
1040 people have browsed it

数组关系匹配

本帖最后由 lazygc520 于 2013-08-21 14:16:17 编辑 已知数组a:
<br />
array(4) {<br />
  [0]=><br />
  array(3) {<br />
    [0]=><br />
    string(13) "SU13080800340"<br />
    [1]=><br />
    string(10) "310F61VA5A"<br />
    [2]=><br />
    string(1) "3"<br />
  }<br />
  [1]=><br />
  array(3) {<br />
    [0]=><br />
    string(13) "SU13080800345"<br />
    [1]=><br />
    string(10) "310F61VA5A"<br />
    [2]=><br />
    string(2) "23"<br />
  }<br />
  [2]=><br />
  array(3) {<br />
    [0]=><br />
    string(13) "SU13080800338"<br />
    [1]=><br />
    string(10) "310F61VA5A"<br />
    [2]=><br />
    string(1) "3"<br />
  }<br />
  [3]=><br />
  array(3) {<br />
    [0]=><br />
    string(13) "SU13080800346"<br />
    [1]=><br />
    string(10) "310F61VA5A"<br />
    [2]=><br />
    string(2) "25"<br />
  }<br />
}<br />
Copy after login


再者数组b:
<br>
array(8) {<br>
  [0]=><br>
  array(2) {<br>
    [0]=><br>
    string(12) "CVT121015001"<br>
    [1]=><br>
    string(11) "310F6 1VA5A"<br>
  }<br>
  [1]=><br>
  array(2) {<br>
    [0]=><br>
    string(12) "CVT121015002"<br>
    [1]=><br>
    string(11) "310F6 1VA5A"<br>
  }<br>
  [2]=><br>
  array(2) {<br>
    [0]=><br>
    string(12) "CVT121226001"<br>
    [1]=><br>
    string(11) "310F6 1VA5A"<br>
  }<br>
  [3]=><br>
  array(2) {<br>
    [0]=><br>
    string(12) "CVT121226002"<br>
    [1]=><br>
    string(11) "310F6 1VA5A"<br>
  }<br>
  [4]=><br>
  array(2) {<br>
    [0]=><br>
    string(12) "CVT121226003"<br>
    [1]=><br>
    string(11) "310F6 1VA5A" <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
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