Blogger Information
Blog 32
fans 0
comment 0
visits 23516
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
二维数组遍历等-2019年6月4日20点00分
小李广花荣
Original
798 people have browsed it
  1. 下面将展示二维数组遍历


  2. 实例

    <?php
    
    $movies=[
        ['id'=>0, 'name'=>'小明'],
        ['id'=>1,'name'=>'小红']
    
        ];
    
    foreach ($movies as $movie){
        echo  $movie['id'].'<br>';
    }

    运行实例 »

    点击 "运行实例" 按钮查看在线实例

    QQ图片20190705163155.png
Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!