<table border="1" cellspacing="0" cellpadding="0" style="" class="datatable table-bordered table-hover table-condensed ">
<tr>
<?foreach($array as $k1=>$v1){
?><td><?=$v1?></td><?
}?>
</tr>
<tr>
<?
foreach($row as $key=>$value){
foreach($value as $k=>$v){
?>
<td><?=$v?></td>
<?
}
}
?>
</tr>
</table>