commit export report
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -24,11 +24,11 @@ function array2table($arr,$width = "100%") | ... | @@ -24,11 +24,11 @@ function array2table($arr,$width = "100%") |
| 24 | echo "<tr class='".$rclass."'>\n"; | 24 | echo "<tr class='".$rclass."'>\n"; |
| 25 | $col = 1; | 25 | $col = 1; |
| 26 | // Are you fucking kidding me with this shit, Kevin??? | 26 | // Are you fucking kidding me with this shit, Kevin??? |
| 27 | while (false !== ($curr_field = current($curr_row))) { | 27 | foreach($curr_row as $curr_field) { |
| 28 | echo "<td>"; | 28 | echo "<td>"; |
| 29 | echo $curr_field." "; | 29 | echo $curr_field." "; |
| 30 | echo "</td>\n"; | 30 | echo "</td>\n"; |
| 31 | next($curr_row); | 31 | |
| 32 | $col++; | 32 | $col++; |
| 33 | } | 33 | } |
| 34 | while($col <= $num){ | 34 | while($col <= $num){ | ... | ... |
-
Please register or sign in to post a comment