Please read what I wrote, is this right? ?
飞飞
飞飞 2017-07-27 18:05:18
0
7
1974

foreach( $arr as $k => $v ){
   echo '<h4>' .$k .'</h4>';
   echo'<table width="500" border="1">';
//    var_dump( $key );
   foreach( $v as $value  ){

       list($key , $value) = each( $v );
       echo '<tr>';
       foreach( $value as $vv ){

           echo '<td>'. $vv . '</td>';
       }

       echo '</tr>';
   };
   echo'</table>';

};

飞飞
飞飞

reply all(7)
嘻嘻嘻

I always feel that everyone who can write such things is a very good person, and their thinking is quite clear, but I can't write it, my head is all blurred.

海挚

foreach( $arr as $k => $v ){

   echo '<h2 align="center">' .$k .'</h2>';//h4字体偏小,另外需要居中

   echo'<table width="500" border="1" >';

   foreach( $v as $value  ){


       list($key , $value) = each( $v );

       echo '<tr style=text-align:center>';

       foreach( $value as $vv ){


           echo '<td >'. $vv . '</td>';

       }


       echo '</tr>';

   };

   echo'</table>';


};


凡衣

sharp

Gomez 、

$color = ['#FFE4C4','#FF83FA','#FF4040','#FF00FF','#F5F5DC','#EEEE00','#E8E8E8','#DA70D6','#CDC9C9','#912CEE'];

while(list($key,$value) = each($arr)){

    echo '<h2 style="width:800px;text-align:center;">' . $key . '</h2>' . '<table style="width:800px;border:1px solid gray;><tbody>';

    while(list($ke,$va) = each($value)){

        echo '<tr">';

        while(list($k,$v) = each($va)){

            echo '<td style="text-align:center;" bgcolor='. $color[rand(0,count($color)-1)] .'>' . $v . '</td>';

        }

        echo '</tr>';

    }

    echo '</tbody></table>';

}


正念的奇迹

Any questions?

꧁༺Loser༻꧂

Very good

大家讲道理

There is no problem with the writing.

  • reply thanks, thanks
    飞飞 author 2017-07-28 09:25:04
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template