数组关系匹配
本帖最后由 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 />
Nach dem Login kopieren
再者数组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>
Nach dem Login kopieren