<?php$arr=array( 'Teaching Department'=>array( '), array('Zhang 1','21','demon'), ), 'Propaganda Department'=>array( array('Li 2','18','demon'), array('Gao 2','20','Male'), array('Zhang 2','21','Yao Ren'), ), 'Finance Department'=>array( array('Li 3','18', 'Shemale'), array('High 3','20','Male'), array('Zhang','21','Monster'), ),);foreach($arr as $k=> ;$a){echo'<table width="500" border="1">'; >$e){ echo '< ;/table>'; } ?>
The output should be in this style
Add
and
# at the beginning and end of the first layer of foreach. ##