Returns an array with recursion? Solutions

Source: Internet
Author: User
Returns an array with recursion?
----------PHP----------
$mail _list = Parse_xml_config ($inx, "Mailindex");
$receives = $mail _list[' datas ' [' Data '];
$sumCount = count ($receives); Total number of messages in the current mailbox
echo "Count-->> $sumCount
";
Print_r ($receives);
---------XML-----------




<anonymous@214.netchina.com.cn>
yushuai.niu@214.netchina.com.cn
(Ncmail 843 invoked by UID 401); 027 22:43:50-0000
027 22:43:50-0000
<20120227224350.842.ncmail@214.netchina.com.cn>
yushuai.niu@214.netchina.com.cn
HHH
0:send_mode_class.php
yushuai.niu@214.netchina.com.cn
Secret
----====_1330382630_====----
1.0
multipart/mixed;boundary= "--==================_117335625==_"
2012-02-27 22:43:50
24.16 KB


2
netchina_1 Releasedby_sean (data_2012-2-21). doc
Secret


2


<anonymous@214.netchina.com.cn>
yushuai.niu@214. netchina.com.cn
(ncmail 23267 invoked by UID 401); 027 20:21:57-0000 ived>
027 20:21:57-0000
<20120227202157.23265.ncmail@214.netchin a.com.cn>
yushuai.niu@214.netchina.com.cn
w-inx-2
0:send_mode_class.php
yushuai.niu@214.netchina.com.cn
top Secret
----====_133 0374117_====----
1.0
multipart/mixed;boundary = "--==================_783205184==_"
2012-02-27 20:21:57
42.06 KB
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.